3/29/2026 at 9:44:27 PM
I've thought about doing something like this but I am only very recently getting into low-level OS stuff.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.
by tombert
3/29/2026 at 9:54:41 PM
There's some definite prior art here where they worked on that a LOT.https://www.erlang-factory.com/static/upload/media/149858389...
by calvinmorrison
3/29/2026 at 10:18:27 PM
You know, I read those slides when they were new, and I apparently just completely forgot about it.Not that it's not interesting, just that my brain is dumb sometimes.
by tombert
3/29/2026 at 10:34:18 PM
Unfortunately, the hydros project website is gone. I'm not sure if it moved somewhere.by toast0
3/31/2026 at 12:20:15 AM
here's what I dug upby calvinmorrison
3/31/2026 at 4:36:46 PM
Thanks! There's some really interesting things here. I chose to interface with some basic hardware only from my kernel, but hydros uses Erlang to interface with the IO-APIC and a bunch of other stuff. They've even got NIFs to do sti/cli from Erlang.by toast0