3 ms·
What are the technical advantages of having a Wasm based BEAM implementation?
by max_ 5y ago
What are the technical advantages of having a Wasm based BEAM implementation?
- codetrotter 5y agoFrom pretty far down in the README: > The primary motivator for Lumen's development was the ability to compile Elixir applications that could target WebAssembly, enabling use of Elixir as a language for frontend development.
- tluyben2 5y agoBEAM is also a very nice VM if you are thinking of a target for your own language. It is easy to learn and use. And this adds more freedom.
- bcardarella 5y agoWe are hoping for several outcomes. The first is web wasm compilation. We have some ideas on what architectural advantages can come from having BEAM controlled UI. The second is a WASI compilation. So targeting stand alone binaries. This is different than other "compile BEAM to binary" implementations. We are targeting a footprint size of 200kb (web and wasi) which gives Erlang and Elixir an opening to targeting more IoT devices.