3 ms·
Very cool article. I like learning about these kinds of hacks. Btw, it seems the author is also the author of this cool project: https://github.com/hansihe/Ru
by rdtsc 10y ago
Very cool article. I like learning about these kinds of hacks.
Btw, it seems the author is also the author of this cool project:
https://github.com/hansihe/Rustler https://github.com/hansihe/Rustler
It is a library which helps write Rust NIFs for Erlang, I am following that.
I see both Erlang/Elixir and Rust as one of the best platforms today, which focus on practical safety and fault tolerance. Combining the two is a great idea in a large system. Erlang's VM is solid and battle tested, at the core of many vital projects and systems. Rust probably brought the most innovative language feature recently -- compile time lifetime and safety checking.
- cpeterso 10y agoWith people writing NIFs in Rust, how long until someone writes a new BEAM-compatible VM in Rust? The existing C implementation of the BEAM VM could be incrementally rewritten in Rust. I was browsing the BEAM source code recently and the C coding style is rather dated, e.g. lots of #ifdefs and even function declarations without prototypes.