Rune: A Rust VM That Aims to Make Emacs Multithreaded and Bug-Compatible
Rune: Rust VM for Emacs
Rune is an experimental Emacs core written in Rust that aims to bring multithreaded Elisp to Emacs while remaining bug-compatible with existing Emacs Lisp packages. The project is at an early stage but already has a basic Elisp runtime, a bytecode VM using Emacs opcodes, and a garbage collector. The current goal is to build an editor MVP with basic editing functionality in a minimal GUI. It also includes property testing against GNU Emacs to ensure compatibility.
This project is moved forward by trying to load new elisp files and seeing what breaks.
- rich_sasha
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.
- indy
There hasn't been a commit to the main branch in 3 months.
- whacked_new
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.