News for hackers. Stuff that matters.

Show HN: Compile Erlang to WASM and run as HTTP/incoming-handler

https://github.com/muromec/erwasm-http

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.

( 1 comment | 2 points | on HN )
Re:Show HN: Compile Erlang to WASM and run as HTTP/incoming-... by ulfbert_inc on Thursday July 25, 2024 @07:40AM (#41067398)
>This software may or may not report your location to СБУ if it finds a russian keyboard installed on your windows. If that happens author accepts no respinsibility under the long standing /це не ми/ doctrine.

I am sure you are aware Russian is spoken by many people who aren't ethnically Russian. This is to say that statements like this aren't just ignorant but repugnant and aren't helping your cause, assuming it's a good one.