News for hackers. Stuff that matters.
Re:GNU/Hurd strikes back: How to use the legendary OS in a (... by darksaints on Monday August 07, 2023 @05:12PM (#37041011)
> I've known for decades that on paper, microkernels and Hurd should be superior, and I've wondered for nearly as long why then they aren't taking off. If they're so good, they should at least be thriving in some niche where that performance matters, shouldn't they?

They (microkernels) thrive in Automobiles, Aircraft, Spacecraft, Security systems (such as hardware encryption devices), Defense Munitions, Embedded Devices, Maritime devices, radar systems, and many other areas. The common thread here is that they are not just resource constrained and performance sensitive, they are also typically very specialized and mostly write-from-scratch.

That last part is the key to understanding why general purpose operating systems mostly use legacy kernels that are decades old. We want to preserve as much as we can from what came before.

> But why is Linux the incumbent when Mach and Hurd were conceived 3 years earlier?

Because Linux worked earlier. Nobody in the GNU ecosystem knew how to develop a microkernel that worked, let alone drivers for a constantly changing target OS.

> I would love to believe that, but then why has that advantage not paid off for 30 years?

Again, they have. Almost all RTOSes are microkernels, and the most popular embedded OSes are microkernels. When you're writing something from scratch, it is always going to be easier with a microkernel. Don't mistake Hurd with the concept of a microkernel. Hurd sucks because it has always sucked. It's bloated, poorly documented, relies on a very janky GNU ecosystem that has already mostly adapted to Linux out of practicality concerns, and there is no ecosystem tooling around it.

But the advantages of microkernels in general are very real. The best one out there in terms of maturity is QNX, and while practically every modern car on the planet runs on it, it's licensing pretty much precludes it from being used as a general purpose OS.

Re:GNU/Hurd strikes back: How to use the legendary OS in a (... by themerone on Tuesday August 08, 2023 @12:08AM (#37044416)
Who's used QNX in automotive for anything other than infotainment? A lot of people seem to think it's being used for vehicle control systems, but I've never been presented with a credible evidence of widespread use in production vehicles.
Re:GNU/Hurd strikes back: How to use the legendary OS in a (... by defrost on Tuesday August 08, 2023 @12:20AM (#37044470)
It's probable that QNX would underpin any future Mitsubishi Electric autonomous driving system, and more certain that it would underpin sensor integration etc. in future Mitsubishi car models.

But it's not being used there in current mainstream production.

https://www.meaa-mea.com/advanced-mobility/

https://www.blackberry.com/us/en/success-stories/mitsubishi

It's certainly difficult to pick through the Blackberry QNX hype to see where it's actually headed outside of infotainment, lot's of fuzzy weasal phrasing:

https://blackberry.qnx.com/en/industries/connected-autonomou...

Re:GNU/Hurd strikes back: How to use the legendary OS in a (... by darksaints on Tuesday August 08, 2023 @10:46AM (#37049775)
BMW, Ford, GM, Honda, Mercedes-Benz, Toyota, and Volkswagen are all users of QNX’s safety certified versions, which I would assume means more than just infotainment.
Re:GNU/Hurd strikes back: How to use the legendary OS in a (... by themerone on Tuesday August 08, 2023 @03:39PM (#37054417)
Users or licensees, there is a big difference. They could be just be playing around with it in laboratories.

Outside of some vague blackberry press materials, I've never seen anything specific.

Re:GNU/Hurd strikes back: How to use the legendary OS in a (... by themerone on Tuesday August 08, 2023 @03:39PM (#37054424)
Users or licensees, there is a big difference. They could be just be playing around with it in laboratories.

Outside of some vague blackberry press materials, I've never seen anything indicating use in vehicles.

Re:GNU/Hurd strikes back: How to use the legendary OS in a (... by mcv on Tuesday August 08, 2023 @01:19AM (#37044805)
So Linux is too big for embedded systems. I completely understand that. But I was hoping they'd also be viable for general purpose computers. That's certainly what Tannenbaum argued back in the day.

Or could they work if only people would stop focusing on Hurd? Is Hurd a dead end? Or is GNU the real problem and should we abandon that?

Re:GNU/Hurd strikes back: How to use the legendary OS in a (... by darksaints on Tuesday August 08, 2023 @10:38AM (#37049655)
I think Hurd is fixable from a functionality standpoint, but I think it is a dead end from a sociocultural standpoint. It’s old, boring, and has never worked well in its entire history, why would anybody think they could be the one that makes the difference? Nobody cares about it anymore, it’s the kernel that almost tanked the GNU ecosystem before it was saved by Linux.

Out of all of the microkernels out there, the one I like the most is SEL4, but the security model is so different from most OS kernels that you essentially have to program for it from the ground up. And it seems like there isn’t any momentum there either. QNX is already very mature and performant though, and it has gotten a huge boost from IoT and electric car development, and IMO all it needs is an open source license and it will eventually creep its way into general purpose OS usage.

Re:GNU/Hurd strikes back: How to use the legendary OS in a (... by janneke on Tuesday August 08, 2023 @10:59AM (#37049973)
GNU is not an ecosystem (see <https://www.gnu.org/philosophy/words-to-avoid.en.html#Ecosys...>), it's a philosophy.

Yes, it's old. Yes, there's only little interest. Yes, there are _still_ many technical problems.

The interesting thing here is that technical problems can be solved, and will be solved given enough time. Heck, I've heard rumors that even Windows does not crash multiple times a day anymore.

Focussing and working on what is popular will most likely create a world that is less free every year. Some people rather work on something that seems right and promises a better, freer future. Even if it's not popular (right now), even if it has a high probability of failure.

Popularity is a very volatile property...

Re:GNU/Hurd strikes back: How to use the legendary OS in a (... by darksaints on Tuesday August 08, 2023 @11:57AM (#37051023)
The biggest success that GNU has had is that they made it incredibly unpopular to keep source code proprietary and closed. It is no longer necessary to limit yourself to just the GNU OS in order to enjoy limitless freedom of computing.

And popularity might be a double edged sword, but double edged swords are still useful if you're careful.

Re:GNU/Hurd strikes back: How to use the legendary OS in a (... by janneke on Tuesday August 08, 2023 @12:21PM (#37051439)
That's a great compliment as I think the core vision of GNU is that all software should be free (<https://www.gnu.org/philosophy/shouldbefree.en.html>).

Although keeping software proprietary or writing proprietary software may have become somewhat unpopular in some niches (I'm not sure it's incredible unpopular seeing how many people and institutions still use and often advocate Apple, MicroSoft, use FaceBook, WhatsApp, whatsnot...), I'm not yet convinced that many people (say more than 1%) really believe that all software should be free and act on that?