Rust UNder Emacs video introduction Docs. This project is an experimental Emacs core written in Rust. The project is still at a very early phase but has the following goals: Bring multi-threaded elisp to Emacs, Be "bug-compatible" with existing Emacs Lisp packages (everything should still work), and Enable performance improvements (including faster GC, regex, and JSON) by leveraging the Rust Ecosystem.
See the design doc for more details. Status: The current goal of this project is to create an editor MVP. We have a basic elisp runtime, and we are working on adding basic editing functionality in a minimal GUI.
This will include: buffer text insertion/deletion, cursor line wrapping, scrolling, file IO, display tables. If you want to contribute or have ideas for things to add, please open an issue. Lisp files are currently pulled from https://github.com/emacs-mirror/emacs/tree/emacs-29.1/lisp.
Any modification for bootstrapping contain the tag RUNE-BOOTSTRAP. Running: cargo run --release -- --repl Load the bootstrapped elisp and open the REPL; cargo run --release -- --no-bootstrap --repl Open the REPL with only the builtin functions loaded; cargo run --release Load the bootstrapped elisp and exit. MIRI: Run the test suite with MIRI.
MiriFlags='-Zmiri-strict-provenance' cargo +nightly miri test. Exploring this repo: The project is defined by a main package rune, which depends on the crates included in the crates directory. One of those is the rune-macros crate, which defines the defun proc macro for defining builtin functions.
The rest of the code is contained in src/. The modules are described below.
Source: Hacker News · Summarized by HeadlinesBriefing