{"by":"Muromec","descendants":0,"id":41065669,"kids":[41087956,41067944,41067691,41067398],"score":32,"text":"Hello!<p>This is the most useless thing I did in quite some time, but it was fun.<p>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 <i>need</i> to run erlang on the edge node (you don&#x27;t).<p>When (if) typed continuations become a thing, this should also allow for erlang actor model.","time":1721891721,"title":"Show HN: Compile Erlang to WASM and run as HTTP/incoming-handler","type":"story","url":"https://github.com/muromec/erwasm-http"}