Earlier quoted context omitted.
And for another beautiful convergence: nowadays most software development is done in languages that naturally express capability patterns, namely memory-safe languages. That is, if you have a reference to an object or value, you have the authority to invoke any of the methods on that object or call any functions that accept such a value. So object references are capabilities. Most such languages only go too far by al…
And as an even deeper correspondence: Once your language is memory-safe and capability-secure, you don't even need a kernel, let alone a microkernel. Rather than use hardware address spaces to separate and modularize components (the primary idea behind microkernels), you just pass capabilities around to your components. One component can't crash the whole system, because all it can access is the APIs you pass in to i…
Fuchsia: a new operating system
221–230 of 324 posts
Re: Fuchsia: a new operating system
#222Lots of interest in Microkernels since everyone got tired of kernel vulnerabilities. So who won the Tanenbaum–Torvalds debate? It is too soon to say (Zhou Enlai said that of the French revolution - almost 200 years after the fact) https://en.wikipedia.org/wiki/Tanenbaum%E2%80%93Torvalds_deb... The article says that the focus is on 'PCs, tablets, and high-end phones'. Wouldn't a more secure OS be relevant to server en…
The majority of embedded OSes have a microkernel design.
Also Windows and OS X have a kind of hybrid design, even if not a proper mikrokernel.
On Windows case,there are now a sandboxed kernel and drivers.
https://channel9.msdn.com/events/Ignite/2016/BRK4010
https://channel9.msdn.com/Blogs/windowsserver/Device-Guard-i...
Re: Fuchsia: a new operating system
#223Earlier quoted context omitted.
I know nothing about differences between fuchsia and sel4 but it would be rather strange if something as complicated as a OS kernel wouldn't have many parts where you have to make trade-offs. People compete fiercely in the field of todo applications, I don't see why there shouldn't be competition in microkernel space. Things changed in hardware in last 20 years and maybe we've learned something about software as well…
I think author meant L4 kernels were performance tuned for 20 years to be the fastest. Then, one using applying such lessons was mathematically verified for correctness down to assembly. It's proprietary and open-source depending on what your end product will be. They'd probably even add features to it for a Google-specific version that leveraged as many proven compinents as possible.
Re: Fuchsia: a new operating system
#224Earlier quoted context omitted.
> won't publish their sources for the various device drivers needed. And how is Fuchsia supposed to help that?
It will go down the Windows model of having a stable kernel ABI (I assume). And suffer/enjoy the same trade-offs as Microsoft. That model is not perfect, but it worked for MS -- and Google is in a similar enough position.
Re: Fuchsia: a new operating system
#225Earlier quoted context omitted.
That's actually really beautifully simple. Thanks for this explanation, it really helped the idea "click"
And for another beautiful convergence: nowadays most software development is done in languages that naturally express capability patterns, namely memory-safe languages. That is, if you have a reference to an object or value, you have the authority to invoke any of the methods on that object or call any functions that accept such a value. So object references are capabilities. Most such languages only go too far by al…
Except private methods, right? That's where I feel that this analogy breaks down
Re: Fuchsia: a new operating system
#226Earlier quoted context omitted.
No. GPUs typically work over the PCIE bus, and one can talk to PCIE via user space as well. In legacy systems like Linux the mapping of virtual to physical address and generation of scatter-gather-lists (SGLs) resided in the kernel. If one moves the same functionality to the user space without loss in performance (which is what magenta seems to do), there's no benefit to kernel GPU drivers. Then there's the whole "GP…
Unfortunately, the GPL mafia is right, and hardware vendors will continue to abuse their users with proprietary blobs unless they are forced into change.
Do you see many vendors being forced into change?
Re: Fuchsia: a new operating system
#227Earlier quoted context omitted.
Being business-friendly is not a goal, and shouldn't be a goal.
> Being business-friendly is not a goal Sure, it is, for lots of people. Even, apparently, the FSF, hence the reason non-consumer products are not subject to anti-tivoization rules in GPLv3.
Re: Fuchsia: a new operating system
#228I don't understand what the value is in writing a new original microkernel from scratch in this day and age when sel4* is free and open source, performance tuned for 20ish years, is security hardened, and is provably correct for both security and features? This doesn't seem like a wise path to take. * See http://sel4.systems/
Re: Fuchsia: a new operating system
#229Earlier quoted context omitted.
I know nothing about differences between fuchsia and sel4 but it would be rather strange if something as complicated as a OS kernel wouldn't have many parts where you have to make trade-offs. People compete fiercely in the field of todo applications, I don't see why there shouldn't be competition in microkernel space. Things changed in hardware in last 20 years and maybe we've learned something about software as well…
I think author meant L4 kernels were performance tuned for 20 years to be the fastest. Then, one using applying such lessons was mathematically verified for correctness down to assembly. It's proprietary and open-source depending on what your end product will be. They'd probably even add features to it for a Google-specific version that leveraged as many proven compinents as possible.
Re: Fuchsia: a new operating system
#230I've been waiting for this to be released. I suppose everyone has been. Capabilities . Like fine grain locks, these are very powerful and very hard to get right. That's the lesson from Hydra, the 432, .... No, it's not a hard mechanism for the microkernel to get right; it's a hard policy for the application programmer to get right. However, that's probably more of an opportunity rather than meant as a criticism. Our…
Why do you want to implement something small with
something that is large?
Consider the size and amount of equipment involved in making watches. Or microchips, for that matter.