Live data from Hacker News

Gluon – A configurable and small virtual machine which runs Erlang BEAM bytecode

github.com

31–40 of 70 posts

Re: Gluon – A configurable and small virtual machine which runs Erlang BEAM bytecode

#31
post #26

Greetings! 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 wh…

[deleted]

Re: Gluon – A configurable and small virtual machine which runs Erlang BEAM bytecode

#33
post #26

Greetings! 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 wh…

It's great to hear interest in this area - the more places I can run Erlang/Elixir, the more likely I am to use it even in the places it can traditionally run (it's a more useful language to me if I can use the same codebase everywhere).

If you are looking to make an embedded focused VM, obviously ARM is the most useful target to run on.

Re: Gluon – A configurable and small virtual machine which runs Erlang BEAM bytecode

#35
post #33
post #26

Greetings! 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 wh…

It's great to hear interest in this area - the more places I can run Erlang/Elixir, the more likely I am to use it even in the places it can traditionally run (it's a more useful language to me if I can use the same codebase everywhere). If you are looking to make an embedded focused VM, obviously ARM is the most useful target to run on.

By using C++ and Rust obviously ARM was on my mind, and I have plenty of test boards ranging from 192kb to hundreds MB of RAM to experiment with. It just never reached that stage.

The two main ideas were to be different implementation for large machines (ErlangRT) or to be small (E4VM and gluonvm1).

Re: Gluon – A configurable and small virtual machine which runs Erlang BEAM bytecode

#39
post #6

Wouldn't targeting GraalVM make sense, too?

Probably not. VMs are not universal. Things designed for shared memory model, like say GCs, make sacrifices that would not do so good for isolated processes. So a custom unoptimized VM might make more sense than an architecturally unfit VM.

Re: Gluon – A configurable and small virtual machine which runs Erlang BEAM bytecode

#40
post #6

Wouldn't targeting GraalVM make sense, too?

No. Graal is huge, one of the biggest of all VM runtimes.

Gluon had the complete opposite goal. lua would be an idea for a small BEAM engine. It would also be much faster.

Post reply on HN