AI Introduces Live Clojure Reprogramming for Native Apps
agents
| Source: HN | Original article
Developers and AI can now reprogram native C++/OpenGL applications in Clojure while they run, extending live‑editing capabilities beyond Emacs.
A new open‑source framework called **AffrescoUI** is pushing the boundaries of live software editing. Built on a C++23 / OpenGL engine, the platform lets developers—or AI agents—reshape native applications while they are running, using a sandboxed dialect of Clojure or simple JSON. The idea mirrors the “everything is editable” ethos of Emacs, but applies it to compiled, cross‑platform UI code rather than a text editor.
AffrescoUI defines an app in a single declarative format that the engine renders directly, without relying on a browser engine or web view. Through the Model Context Protocol (MCP), AI agents can propose revisions that the user approves in milliseconds, enabling rapid, iterative UI changes. The project’s GitHub repository has already accumulated 13 example applications, 177 commits, and a modest but active discussion on Hacker News (49 points, 40 comments).
The significance lies in blurring the line between development and execution. By allowing live Clojure‑based rewrites, the framework could accelerate prototyping, support adaptive interfaces driven by AI, and reduce the overhead of rebuilding native binaries for minor tweaks. Its sandboxed language model also promises safer experimentation compared with unrestricted scripting.
What to watch next is whether the community adopts AffrescoUI for real‑world products and how AI‑driven agents integrate with the MCP workflow. Follow‑up will likely focus on performance benchmarks across platforms, extensions that connect the engine to larger AI toolchains, and potential competition from other AI‑centric development kits such as Fleetlayer or Prospero. The coming weeks should reveal whether live, AI‑editable native apps move from novelty to a mainstream development paradigm.
Sources
Back to AIPULSEN