Why stop at Emacs? Native apps you or an AI reprogram in Clojure while they run
22 points by RiccardoSottini 3 hours ago | 18 comments

koe123 8 minutes ago
Has anyone made a AI coding harness that uses lisp to essentially morph into any software under the sun? Quite a compelling idea I feel
reply
bobowzki 45 minutes ago
I did my own emacs clone I call amacs, https://github.com/ast/amacs

LLMs have really changed what experiments you do...

reply
RiccardoSottini 21 minutes ago
Super cool! How challenging was it to work on it? What are the next functionalities you plan to implement
reply
gavinray 2 hours ago
We've come full circle back to Smalltalk

Application environments like Smalltalk that can modify themselves on the fly while running always seemed uniquely suited to AI, I've thought

reply
RiccardoSottini 22 minutes ago
Someone did suggest me not to only allow for Clojure Lisp, but also Smalltalk due to the fact that it resolves around the same concept of meallability on software, along to the fact that is token efficient due to the syntax
reply
whacked_new 2 hours ago
I'm a clojure fan so you have my attention. I also use bb (https://getbb.app/) for almost the exact same use case. I tried glamorous toolkit (smalltalk) and found bb to just give a smoother experience. No data, but I suspect the mere fact that it uses TypeScript makes agents more effective working with bb.

The untyped, macro-full code like https://github.com/RiccardoSottini/AffrescoUI/blob/master/ex... gives me pause. It seems like it needs a pretty strong LLM to get things right?

reply
RiccardoSottini 8 minutes ago
Super cool. Yes bb follows the same concept when it comes to having malleable software - imagine having the same type of functionalities to other types of software that you use daily other than an editor.

Agreed, I would say that the minimum requirement for an LLM is Sonnet 5.5 when it comes to such clojure maintained applications - Next step for me is to find ways to simplify the code of the different examples I have created while maintaining the same features on a surface level for the end user.

reply
vatsachak 31 minutes ago
I did this for financial consulting!

https://rowview.app/

reply
RiccardoSottini 5 minutes ago
Great! It seems that some of the concepts when it comes to malleable software are followed by your project too! Quick question: do you think that your project will also expose an MCP so it can be used from Claude / Copilot as well? So, the core/framework implementation + server is implemented by your side, however, you can have it plugged with other services too.
reply
manoDev 44 minutes ago
A lisp runtime will be the ultimate environment for AI.
reply
RiccardoSottini 13 minutes ago
I know, right? in the past Lisp had real limits on efficiency and speed, but most of those have been overcome since then. Most importantly, Lisp has a tiny, uniform syntax where code is just data, and that (along with plenty of other reasons) makes it the perfect environment for malleable software and AI
reply
tester89 2 hours ago
What is the benefit of using clojure now? Used to be a big Lisp head before AI, but with AI I feel like using widely-used statically-typed, strongly-typed languages is better over Lisp, for the training set and validation benefits.
reply
avtar 33 minutes ago
Listened to this a couple days ago: https://m.youtube.com/watch?v=tzzg8CVkl2A

Besides immutability and iterating with the repl, another point made was apparently more efficient context window usage due to fewer lines of Clojure code compared to alternatives.

reply
RiccardoSottini 3 minutes ago
Yes! That's the reason why I chose it - due to iterations with repl and extremely efficient context window usage / token expenditure. Effectively, for the use case scenario of my project, Clojure can express logic and functionalities that are shown on screen with just a couple of lines of code, removing all the boilerplate/overhead code.
reply
whacked_new 57 minutes ago
It looks like they are just borrowing clojure syntax (I like), and perhaps the culture of supporting hot code reload (I also like), but I share the same reservations.
reply
harrigan 2 hours ago
[dead]
reply
skeledrew 2 hours ago
I'm doing this with Python. Made a tool that allows easy live dev in Python processes anywhere it's running, including on mobile.
reply
Imustaskforhelp 2 hours ago
I would love to know more about it, is it open source? and does it support any other languages than Python (also another question: as to what are some other programming languages where such a tool can have high value too)
reply
skeledrew 43 minutes ago
It's still pretty fresh, so though I've used it to do some work on another project I don't really consider it satisfactorily proven yet. I'll probably open source it when I feel it's more solid. Only Python is supported, though theoretically the CLI side (it's split into CLI, server and debugger portions) could send commands to a debugger made in any language that supports the API. The only languages that can be fully supported though are those that allow full runtime evaluation, typically anything interpreted. Compile-only languages are out.
reply