Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Show HN: Compile Erlang to WASM and run as HTTP/incoming-handler (github.com/muromec)
32 points by Muromec on July 25, 2024 | hide | past | favorite
Hello!

This is the most useless thing I did in quite some time, but it was fun.

Compile erlang (actually BEAM) to wasm, statically link with a small http wrapper and run as a request handler under wasmtime. This is not very practical as of now and you better just compile atomvm and statically link it with erlang payload if you really need to run erlang on the edge node (you don't).

When (if) typed continuations become a thing, this should also allow for erlang actor model.



Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: