Show HN: Compile Erlang to WASM and run as HTTP/incoming-handler
6 by Muromec | 0 comments on Hacker News.
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.
No comments:
Post a Comment