209 points · by ghosthamlet · 8y ago · 66 comments
Author is here.
We have no idea how this blog draft escaped into HN, but here it is a few years too late. The Gluon project https://github.com/kvakvs/gluonvm1 isn't live anymore, it was using C++ and it was stopped a couple years ago giving way to other experiments ( https://github.com/kvakvs/E4VM ) and finally to ErlangRT mentioned below https://github.com/kvakvs/ErlangRT
My talk with me explaining the whole thing on EUC 2017 (Stockholm) is here https://youtu.be/6NUPormxgw8?list=PLWbHc_FXPo2jAL3fm0YfN3nFV...
The new ErlangRT project in Rust is much more recent; clean strictly typed code with some 'unsafe'ties and a good PoC progress. But it also was stopped because the amount of work to do in it quickly grows but my free time doesn't grow at all.
This increased interest might actually make me rethink my priorities and look at it again.
If you are looking to make an embedded focused VM, obviously ARM is the most useful target to run on.
The two main ideas were to be different implementation for large machines (ErlangRT) or to be small (E4VM and gluonvm1).
BEAM has been in use for over 20 years in telephone systems running on insanely old and bizarre hardware. Is there a platform you have in mind besides ARM?
Of course, I'd consider Erlang to be one of the best platforms in terms of stability. It's rare that they double back on old features.
I'm glad Erlang and Elixir are slowly getting popular and going into other spaces such as hardware apparently.
Gluon had the complete opposite goal. lua would be an idea for a small BEAM engine. It would also be much faster.
(I no longer believe in the line that there are no slow languages. In practice, there seem to be, and languages in practice seem to plateau at certain performance levels no matter how much effort is put into them. Those who wish to argue are welcome to produce the fast-as-C-at-everything Javascript interpreter or some similar artifact and I will happily retract.)
Erlang is still a fine language and it's performance is well in line with several other popular languages; by no means would I say it is unusable. It's just that real engineers need to have clear understandings of the costs and benefits of their tools, which includes understanding not all languages have the same speed characteristics.
Ooops It looks like that page you tried to explore went extinct, or you typed in the wrong address. Check the URL again or go back to our home page