74 points · by ingve · 8y ago · 42 comments
L4Re is a (reasonably) portable L4 userspace environment and has a large collection of ported libraries (e.g. zlib etc).
Fiasco is the L4 microkernel they have developed for many years. It is different to the others because it is written in C++ and heavily object oriented. It also has concurrency in the kernel unlike simple systems like seL4, although at a complexity cost.
As a side note, these guys also develop L4Linux: a paravirtualized mod of Linux that runs on top of L4 as a task. This enables more realtime tasks to run alongside Linux. Kudos to these guys and their projects.
Over time, maybe a microkernel could become the basis of most of these former monoliths.
I wonder why neither Minix 3 nor Fuchsia are using L4. (I guess they may have learned the main lessons from L4 and chose to write those few thousand lines of code themselves for flexibility and control. Strangely, nobody likes to talk about it.)
Unfortunately, L4 and microkernels in general have (unfairly) gained a bad reputation in some circles, stemming from some projects in the 90s that ended in spectacular failure. Examples include IBM's Workplace OS, which costed billions of dollars in development. L4 has had quiet success in the embedded space. General interest has renewed thanks to interesting projects like the seL4 project.
> I wonder why neither Minix 3 nor Fuchsia are using L4
There are many variants of L4, which have similar concepts and APIs but favour different design choices. So it's not that straight forward. In my opinion, I suspect companies with enough manpower will find it easier to make a new project and take the best ideas of L4 without importing all the controversial or philosophical aspects.
Edit: fixed a typo
Minix 3, a new system with the same name, doesn't predate L4. Tannenbaum probably learned stuff from the L4 people given he cites their work in his microkernel debate with Torvalds. They made a custom kernel since their requirements were different than L4 people's. They might have also thought it would be fun. Lots of researchers like just doing their own thing for the experience.
"L4 has had quiet success in the embedded space. "
Don't understate it: OKL4 claimed deployment in a billion phones mostly for baseband isolation. Got acquired by General Dynamics for big bucks. So, there's one, success story.
>The Mach kernel (used by macOS and others)
Where/how does this typically manifest itself? Why isn't macOS slow/sluggish?
The macOS kernel had a reputation for sluggishness back in its early days, due (to the best of my understanding) due to the sluggishness of Mach messaging, which is how Mach implements system calls to the kernel. macOS also supports BSD syscalls, and Apple has apparently done enough optimization here that it's now roughly on par with Linux.
Around 2006, Apple did have an internal, experimental version of macOS ("Darbat") which ran Mach on top of the L4 microkernel, but this project was canceled, for whatever reason.
That's a feature of the reality distortion field.
https://www.openu.ac.il/home/wiseman/2os/microkernels/tanenb...
In a debate with Torvalds, he also cites a lot of examples of microkernel use:
https://www.cs.vu.nl/~ast/reliable-os/
Although most are commercial, Genode is an example of an open-source system built with the architecture. It's a variation of Nizza architecture whose idea was to minimize attack surface and complexity to just what a specific application needs.
So, intuitively at least it seems it's for sharing the kernel workload with your GPU (supposing your hardware supports it)?
Fiasco means total failure without any kind of possible rescue in Portuguese.
But it would have been better if Inferno had better luck, but what to expect when even Plan 9 fans keep forgeting that the OS had a successor.
No relation to the microkernel, except maybe the modest suggestion that a purple car would make a nice logo because it’s a great book.
https://github.com/fuchsia-mirror/zircon
What is cool is Google does this in the open and you can follow along. See which things have place holders and where the focus moves from day/week/month to day/week/month.
Also developers on iirc and Travis super nice guy.
I am old an worked with internals for decades and this is the most excited I have been about a kernel in a very long time.
Looks to me the layers of Fuchsia are going to also be ala cart.
So Flutter on multiple platforms. Zircon able to be used for a variety of purposes and then in addition the kernel for Fuchsia.