Lunatic: Writing Rust the Elixir way

Even though the threads don’t do anything, just running this on my MacBook forces it to reboot after a few seconds

Do mac’s really have such horrible kernel thread implementations?!? I do this on my linux desktop and it doesn’t skip a beat!

After thinking for a long time how I could make something that reassembles Elixir Processes in Rust I came up with the idea to introduce an intermediate step, WebAssembly.

Oooo webassembly greenthreads is a fun idea I’ve played with too! ^.^

2 Likes