[erlang-questions] Erlang VM in Rust
Wed Sep 13 03:47:08 CEST 2017
For a language that purports to be a replacement for low-level systems
programming, Rust not having bitfields or unions, would be a real pain in
the ass to do any intricate hardware driver work... I'm guessing that Rust
is designed by 20-somethings who have never done a line of assembler in
On Tue, Sep 12, 2017 at 3:25 PM Dmytro Lytovchenko <
> I tried to begin once.
> Here's the catch:
> - Rust had no unions at the time of my experiments (added in 1.19 -
> July 2017)
> - Rust has no bit fields (some libraries exist trying to alleviate
> - Erlang process heap is created and maintained by abusing pointers
> and bits in them. Casting integers to pointers and back i believe is
> possible but will give you some pain.
> - A really fast VM loop is done using C/C++ goto (void*) extension, in
> Rust you will probably have to use old good switch/case (slower)
> When you overcome these base problems, it should be possible to proceed
> carefully :)
> 2017-09-12 22:10 GMT+02:00 austin aigbe <>:
>> Any consideration for implementing the Erlang VM in Rust?
>> erlang-questions mailing list
> erlang-questions mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions