[erlang-questions] Erlang VM in Rust

Dmytro Lytovchenko dmytro.lytovchenko@REDACTED
Tue Sep 12 22:25:48 CEST 2017


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 this)
   - 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 <eshikafe@REDACTED>:

> Hello,
>
> Any consideration for implementing the Erlang VM in Rust?
>
> Regards,
> Austin
>
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20170912/b00e9020/attachment.htm>


More information about the erlang-questions mailing list