I can't remember who said this, but they called "Erlang an operating system for your code", and I think that's fairly accurate. When I build an Erlang app, I don't build it the same way as I would with Rust; I have a lot of independent gen_servers that do operate independent from each other.
The Erlang VM is (roughly) preemptive multitasking, and even each process has its own GC, so it does feel like it could be a natural fit for its own operating system without having to live on top of Linux.
https://www.erlang-factory.com/static/upload/media/149858389...
[1] https://github.com/russor/crazierl/blob/main/Makefile#L23
[2] https://github.com/russor/crazierl/blob/main/src/rtl_8168.er...
You could run beam as init with an existing kernel, but I wanted to explore something with less kernel.
Wait, so is the browser running a JavaScript build of Qemu? /