Popcorn: Run Elixir in WASM

145 points30 comments2 months ago
Jump3r

Hey, Kuba from team working on Popcorn here. I wasn't expecting it to be posted on hn but here we are. Feel free to ask me any question.

pesnk

Congratulations on the project! It works great, until we need to handle the best part of Elixir, that's creating multiple actors.

This Task code, for example doesn't work.

  Enum.map(0..10, fn(_) ->
    Task.async(fn -> IO.puts("new process") end)
  end) |> Task.await_many()
show comments
Lord_Zero

I'm honestly surprised at how slow WASM is moving. As a very experienced web dev, when I first learned about WASM I was sure people would be building production UIs in Python and Golang and other traditionally server-side languages.

show comments
codetrotter

For anyone else wondering the GitHub repo is here:

https://github.com/software-mansion/popcorn

Couldn’t find any link to it on the article

Muromec

AtomVM is something like 1m when compiled, isn't it?

show comments
[deleted]
nelsonic

Very promising. But still not stable. One to watch.

gitroom

[dead]