ErlangRT - Runtime
Erlang Replacement Therapy. Another attempt to make Erlang runtime (BEAM emulator) in Rust.
- The good news: I know what to do.
- The bad news: I have no clue how to Rust, but will learn.
Progress to the Proof of Concept
- Term library 70%
- External Term Format (decoder 70%, encoder 0%)
- BEAM Loader 95%
- VM and processes 30%
- VM loop and opcodes 20%
- Some basic BIFs 5%
Compiling
Install latest Rust and Cargo via Rustup
Run
makeand with the magic of Bash autocomplete see which targets it supports. You might like:make run- runs the executable with test args, whatever set by the developer, do not expect it to show any magical tricks;make doc- builds doc pages intarget/doc/erlang_rt/make test- runs the testsmake buildandmake build-rel- builds but does not run the debug and the release target respectively
Editing and Code Navigation
I am using and strongly recommend IntelliJ IDEA CE (free version) with IntelliJ-Rust plugin (available in repositories tab inside IntelliJ).
Reference Material
- BEAM Wisdoms (I run this one)
- The BEAM book (I am also one of the editors there)
