from Hacker News

Popcorn: Run Elixir in WASM

by clessg on 5/15/25, 5:14 PM with 27 comments

  • by Jump3r on 5/17/25, 3:53 PM

    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.
  • by pesnk on 5/17/25, 1:05 PM

    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()
  • by Lord_Zero on 5/17/25, 1:34 PM

    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.
  • by codetrotter on 5/17/25, 1:37 PM

    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

  • by Muromec on 5/17/25, 11:45 AM

    AtomVM is something like 1m when compiled, isn't it?
  • by nelsonic on 5/17/25, 10:17 AM

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