18 karma · joined Jul 27, 2018 (8y ago) · 4 submissions
comment 1y ago · link · parent
comment 1y ago · link · parent
Enum.map(1..10, fn _i ->
spawn(fn -> IO.puts("new process") end)
end)
Also, there are two scenarios: compiling code in the browser and running it, and running precompiled code in the browser. In the latter case more things work, for example the 'game of life' example uses GenServers, Supervisors and Registry:https://popcorn.swmansion.com/game_of_life/
https://github.com/software-mansion/popcorn/tree/main/exampl...
But yes, it's still unstable. Improving the stability is our main focus right now.
comment 8y ago · link · parent