<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Mahmoud Aly</title>
    <description>The latest articles on DEV Community by Mahmoud Aly (@ma7mood3ly).</description>
    <link>https://dev.to/ma7mood3ly</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4229382%2F54ee43e4-75ba-49f9-98b1-e15bb8fef3c6.jpg</url>
      <title>DEV Community: Mahmoud Aly</title>
      <link>https://dev.to/ma7mood3ly</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/ma7mood3ly"/>
    <language>en</language>
    <item>
      <title>Fast Compose: Run Jetpack Compose code instantly without compiling</title>
      <dc:creator>Mahmoud Aly</dc:creator>
      <pubDate>Thu, 05 Nov 2026 23:19:18 +0000</pubDate>
      <link>https://dev.to/ma7mood3ly/fast-compose-run-jetpack-compose-code-instantly-without-compiling-87k</link>
      <guid>https://dev.to/ma7mood3ly/fast-compose-run-jetpack-compose-code-instantly-without-compiling-87k</guid>
      <description>&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F82wbsz1zjo95l8fwzmyv.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F82wbsz1zjo95l8fwzmyv.png" alt=" " width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Jetpack Compose normally requires the Kotlin compiler, the Compose compiler plugin, and a build before you can see your UI.&lt;/p&gt;

&lt;p&gt;Hot reload tools can skip app restarts, but they still rely on compilation. And none of that runs directly in a web page.&lt;/p&gt;

&lt;p&gt;I built &lt;strong&gt;Fast Compose&lt;/strong&gt;, an interpreter that executes Jetpack Compose code without the Kotlin compiler.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Here's how it works:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;A hand-written Kotlin parser (pure Kotlin Multiplatform, with no compiler dependency) converts source code into a syntax tree.&lt;/li&gt;
&lt;li&gt;An interpreter walks that tree and executes it inside a real Compose composition.&lt;/li&gt;
&lt;li&gt;When the code calls Text(...), a binding invokes the actual Compose Text composable.&lt;/li&gt;
&lt;li&gt;State, recomposition, and effects are handled by the real Compose runtime.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The playground above runs the engine compiled to Kotlin/Wasm. &lt;a href="https://fast-compose.github.io/playground/" rel="noopener noreferrer"&gt;https://fast-compose.github.io/playground/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The same engine also powers:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;An Android Studio plugin that updates previews as you type.&lt;/li&gt;
&lt;li&gt;A CLI for executing Compose code.&lt;/li&gt;
&lt;li&gt;A script tag for embedding interactive Compose components in any HTML page.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Current limitations:&lt;/strong&gt;&lt;br&gt;
Around 61% of Compose composables have bindings. Unsupported composables use stand-ins. Type checking happens at runtime, so this is a rapid preview and experimentation tool, not a replacement for the Kotlin compiler.&lt;/p&gt;

&lt;p&gt;Source code: &lt;a href="https://github.com/fast-compose/fast-compose" rel="noopener noreferrer"&gt;https://github.com/fast-compose/fast-compose&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I'd love to hear your thoughts, especially on the interpreter architecture and potential use cases. Happy to answer technical questions!&lt;/p&gt;

</description>
      <category>android</category>
      <category>kotlin</category>
      <category>mobile</category>
      <category>opensource</category>
    </item>
  </channel>
</rss>
