Get the latest tech news

Popcorn: Run Elixir in WASM


s a library that enables execution of Elixir code within web browsers. Compiled Elixir code is executed in the client-side AtomVM runtime.

Popcorn offers APIs for interactions between Elixir and JavaScript, handling serialization and communication, as well as ensuring browser responsiveness. cast(args, options) – takes a serializable value in JS and sends a message to registered Elixir process. Nevertheless, some modules (e.g.:timer, full:ets selects – core Elixir code depend on them) won't work just yet.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of popcorn

popcorn

Photo of wasm

wasm

Photo of Run Elixir

Run Elixir

Related news:

News photo

Running Clojure in WASM with GraalVM

News photo

Abusing DuckDB-WASM by making SQL draw 3D graphics (Sort Of)

News photo

Show HN: (bits) of a Libc, Optimized for Wasm