Posted by ingve 16 hours ago
So for purpose-built applications I think it can be useful. As a general purpose OS where people want to run a browser, it's probably not likely to be useful.
If I agree with it, I don't know.. I have my OS development testing my own theories for last 6 months.. and again.. all I can say is that it's fun, thoughtful and interesting to pursue product management learning points in such project. Completely doable for a single person to have something that works and is complete and from scratch. No Temple OS bullshit for schizophrenics.. No need to be cursed by Perkele like Linus to find devil's skills to convince the community to adopt a school project and go nuts with global adoption..
just for fun, real, yet homebrew OS that can run on your own hardware.. or cyberdeck that may be your next project when you get your OS running on boring mundane laptop just fine.
Also running cloud software, serverless runtimes, or distroless containers, on top of type 1 hypervisors, is pretty much a microkernel like architecture.
I feel like you're glossing over 80%+ of smartphones and 90%+ of all servers with that single mention, lol
I remember the debates about monolithic vs microkernel designs. But it was so long ago that I can’t remember any of the specifics.
So what you end up seeing more of in mainstream platforms is tooling around virtualisation and containerisation (neither new or novel, but for whatever reason, Windows and Linux have been decades behind the old guard).
message passing was the mechanism underneath the debate, and not the headline afaik.
1. Are there as many processes as there are cores on the CPU?
2. Is there a single message queue shared across cores?
3. Presumably two networking actors or two filesystem actors could be processing different messages on different cores and hardware resources can still be contested?
As to your final question, actors processing messages is a computation, i/o of any kind would involve sending messages to other lower-level i/o actors that multiplex or coordinate access to individual hardware resources.
I won't presume this is how DbgOS works, but considering that the author mentions writing drivers as actors, I would imagine that two actors would not be allowed to represent the same underlying resource. You would have one actor for each device, then and only then can any number of other concurrent actors build functionality on top of it through message passing.
2) It can be thought of as at least one message queue per actor.
3) Yep.
There are no actual threads, all programs collaborate to share the single processor they had at the time.
Android actually works an awful lot like this, without calling it actors.