Rune: Rust VM for Emacs

https://github.com/CeleritasCelery/rune

Comments

rich_sashaNov 24, 2026, 6:24 AM
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.

resistings-gendNov 24, 2026, 7:41 AM
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.

throwaway7356Nov 24, 2026, 7:44 AM
A large part of that is logic errors and local file variable mess. That is not something rust can help with.
whacked_newNov 24, 2026, 8:10 AM
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.
bjoliNov 25, 2026, 8:21 AM
This would have been one of the large wins of guile-emacs imo. A separation between what runs elisp and the program emacs.

Imagine a liborgmode.

weavieNov 24, 2026, 9:34 AM
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..
whacked_newNov 24, 2026, 11:00 AM
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.
weavieNov 25, 2026, 9:56 AM
I think I have the core language running swank so I can connect a repl to it. No UI layer yet.

The code is here https://git.sr.ht/~mongus/ork/tree/master/item/crates/elisp but be warned it is a mess.

Mild documentation here - https://git.sr.ht/~mongus/ork#elisp-mode

I need to spend some time understanding what it is doing before moving it forward. Sadly not had the time yet..

whacked_newNov 27, 2026, 3:19 PM
I certainly did not expect to see rust, awk, and elisp in the same runtime.
imtringuedNov 24, 2026, 1:50 PM
I thought someone built a Rust interpreter inside emacs...
alfiedotwtfNov 24, 2026, 7:48 AM
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

androsNov 24, 2026, 10:42 AM
There are a lot of projects that aim to bring Rust to Emacs. It seems doomed!
pjmlpNov 24, 2026, 7:44 AM
Even Emacs cannot escape the whole RIR.
rpdillonNov 24, 2026, 3:25 PM
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.

3836293648Nov 24, 2026, 8:10 PM
You're missing neomacs which is still active
indyNov 24, 2026, 9:30 AM
There hasn't been a commit to the main branch in 3 months.
malickaNov 24, 2026, 7:15 AM
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.
whacked_newNov 24, 2026, 7:47 AM
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.
DeathArrowNov 24, 2026, 8:27 AM
>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.

anonymous908213Nov 24, 2026, 4:10 PM
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.
rootnod3Nov 24, 2026, 11:15 AM
> They are all doing it.

Always a great argument. Jumping off the cliff etc. :D