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.
- 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%
Install latest Rust and Cargo via Rustup
Run
make
and 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 build
andmake build-rel
- builds but does not run the debug and the release target respectively
I am using and strongly recommend IntelliJ IDEA CE (free version) with IntelliJ-Rust plugin (available in repositories tab inside IntelliJ).
- BEAM Wisdoms (I run this one)
- The BEAM book (I am also one of the editors there)