Pretty cool. Always happy to see new ideas in EMacs. I love it and my life would be tangibly worse without it. Equally, it feels part 22nd century, part mediaeval.
I wonder what end user improvements this might lead to. Better threading/external process mgmt down the line? Nicer GUI options? I’m not particularly concerned about vulnerabilities in EMacs, and I believe I maybe once had a crash ever that happened in C, rather than some dodgy elisp.
Iirc there was a similar project, maybe called “Remacs”, which died a death. I think part of it was that they concluded after a rewrite, it wouldn’t really be any better. I didn’t follow closely though.
I'm wondering how feasible it would be to have a libemacs a la libghostty. That would basically contain the elisp runtime, or even elisp compatible runtime. Which maybe would run bytecode, then host other languages.
How far did you get? Did you go through a core/UI layer split and set up some kind of protocol? I'm especially curious whether it's better to go down something like LLVM or a translation layer for something like common lisp.
Another vibe-coded Emacs reimplementation… while I like the idea these sell, “Emacs but even more performant and in Rust,” it’s just fundamentally uninteresting when it’s slopped out.
The author gave a talk at emacsconf 2024 about the project (https://emacsconf.org/2024/talks/rust/) so even if the latest commits have agent work in them I'd give the author a bit more credit and credence.
>it’s just fundamentally uninteresting when it’s slopped out.
All major software is using AI now. Microsoft, Google, Apple, Meta etc. They are all doing it.
Rejecting code just because AI coding tools were used doesn't make sense anymore. We should reject bad, sloppy software whether is written by AI or not.
I would gladly take careful AI written code over resource hogs of yesteryear, Electron + JS everywhere, done by hand.
Has anyone accused Microsoft, Google, Apple, or Meta of making good software in the last two years? We know they want to cut costs, that doesn't mean the users benefit from it.
Pretty cool. Always happy to see new ideas in EMacs. I love it and my life would be tangibly worse without it. Equally, it feels part 22nd century, part mediaeval.
I wonder what end user improvements this might lead to. Better threading/external process mgmt down the line? Nicer GUI options? I’m not particularly concerned about vulnerabilities in EMacs, and I believe I maybe once had a crash ever that happened in C, rather than some dodgy elisp.
Iirc there was a similar project, maybe called “Remacs”, which died a death. I think part of it was that they concluded after a rewrite, it wouldn’t really be any better. I didn’t follow closely though.
I'm definitely worried about vulns in emacs. I don't want loading up a file to be able to do ACE for example, that would be quite bad.
Another example is using emacs as an email or IRC client, which process untrusted inputs by nature.
A large part of that is logic errors and local file variable mess. That is not something rust can help with.
I'm wondering how feasible it would be to have a libemacs a la libghostty. That would basically contain the elisp runtime, or even elisp compatible runtime. Which maybe would run bytecode, then host other languages.
I vibecoded something like this a little while ago, but haven't had the time to actually run it to see if it works yet..
How far did you get? Did you go through a core/UI layer split and set up some kind of protocol? I'm especially curious whether it's better to go down something like LLVM or a translation layer for something like common lisp.
I thought someone built a Rust interpreter inside emacs...
There hasn't been a commit to the main branch in 3 months.
There are a lot of projects that aim to bring Rust to Emacs. It seems doomed!
Even Emacs cannot escape the whole RIR.
Yeah, I've been trying to follow...I think the first was Remacs, but Remacs hasn't had a commit in 5 years: https://github.com/remacs/remacs
Emacs-ng was the version pointed to by Remacs as maintained, but the last update in 2025: https://github.com/emacs-ng/emacs-ng
AI might give us some leverage here that didn't exist before, but it's obviously a hard problem.
I’ve thought about doing this too, but I just couldn’t see a way of doing Rust s-exp at runtime nicely.
Nice work. Looking forward to this
Another vibe-coded Emacs reimplementation… while I like the idea these sell, “Emacs but even more performant and in Rust,” it’s just fundamentally uninteresting when it’s slopped out.
The author gave a talk at emacsconf 2024 about the project (https://emacsconf.org/2024/talks/rust/) so even if the latest commits have agent work in them I'd give the author a bit more credit and credence.
>it’s just fundamentally uninteresting when it’s slopped out.
All major software is using AI now. Microsoft, Google, Apple, Meta etc. They are all doing it.
Rejecting code just because AI coding tools were used doesn't make sense anymore. We should reject bad, sloppy software whether is written by AI or not.
I would gladly take careful AI written code over resource hogs of yesteryear, Electron + JS everywhere, done by hand.
> They are all doing it.
Always a great argument. Jumping off the cliff etc. :D
Has anyone accused Microsoft, Google, Apple, or Meta of making good software in the last two years? We know they want to cut costs, that doesn't mean the users benefit from it.