News for hackers. Stuff that matters.
Re:Linux is Obsolete (1992) by AnIdiotOnTheNet on Tuesday June 12, 2018 @01:45PM (#17295796)
Linux kernel maintainers are actively hostile to the concept of a stable driver ABI. They believe that drivers are best maintained with the kernel so that they can be kept up and fixed.

Given that Linux has the broadest hardware support of any open source OS, and arguably any OS period, it's difficult to say they aren't right.

Re:Linux is Obsolete (1992) by pjmlp on Tuesday June 12, 2018 @02:12PM (#17296136)
Which is exactly what Project Treble introduces, it converts Linux into a micro-kernel design, where each driver runs in its own process with a tiny kernel presence, communicating over Android RPC mechanisms.

https://source.android.com/devices/architecture/hidl/

Re:Linux is Obsolete (1992) by snvzz on Tuesday June 12, 2018 @04:05PM (#17297468)
Are Treble drivers compatible with Fuchsia? That'd be cool.
Re:Linux is Obsolete (1992) by pjmlp on Tuesday June 12, 2018 @04:10PM (#17297514)
No idea, but I don't think so as they are completely different architectures.
Re:Linux is Obsolete (1992) by snvzz on Friday June 15, 2018 @05:17PM (#17323643)
Genode has an ABI for userspace (which includes OS components and drivers) that works across multiple kernels, which are mostly microkernels, but also Linux.

Considering Google designed both Treble and Fuchsia, it's not such a crazy idea.

Re:Linux is Obsolete (1992) by axaxs on Tuesday June 12, 2018 @02:34PM (#17296418)
I'm not saying they are explicitly wrong, but I don't think that's a useful metric. Adoption drives the drivers, not design. That's close to saying Linus was right because Linux is more used than Minix. As a fellow HNer has pointed out, companies are figuring out that depending on hardware vendors to do the right thing is a bad idea, hence Project Treble. Then again, I have a feeling it won't be too long until they scrap linux altogether.
Re:Linux is Obsolete (1992) by AnimalMuppet on Tuesday June 12, 2018 @05:45PM (#17298347)
> That's close to saying Linus was right because Linux is more used than Minix.

Well, Linus chose usefulness as a higher priority than theoretically optimal, so by Linus's standards, yes, Linus was right.

> Then again, I have a feeling it won't be too long until they scrap linux altogether.

Um... don't hold your breath. I think you're going to be waiting a long time for that one.

Re:Linux is Obsolete (1992) by axaxs on Tuesday June 12, 2018 @10:20PM (#17299755)
Sorry if my last point wasn't clear, I was speaking strictly of Google/Treble. Fuschia seems to be coming right along, I can see them going live with it within a few years.
Re:Linux is Obsolete (1992) by tracker1 on Wednesday June 13, 2018 @01:04AM (#17300394)
It sounds very interesting... I rarely go deeper that connected systems or application development myself. But would love to see some better underpinnings to a flexible UI/UX on top. I think there's lots of room for both.
Re:Linux is Obsolete (1992) by mnarayan01 on Tuesday June 12, 2018 @02:21PM (#17296262)
Nit: AIUI, the kernel has no stable API. It has no ABI period.
Re:Linux is Obsolete (1992) by yellowapple on Tuesday June 12, 2018 @04:04PM (#17297461)
There has to be an ABI in order for loadable kernel modules to exist. That's the part that's infamously unstable.

API stability is not guaranteed, though it's stable enough that the likes of Nvidia can write installers for their proprietary drivers that recompile a bit of interface glue between kernel and blob.

Re:Linux is Obsolete (1992) by mnarayan01 on Tuesday June 12, 2018 @09:33PM (#17299575)
> There has to be an ABI in order for loadable kernel modules to exist

Given a particular install, yes, but it will change independent of kernel version based on e.g. build flags and even conceivably compiler chosen, etc.

> it's stable enough that the likes of Nvidia can write installers for their proprietary drivers that recompile a bit of interface glue between kernel and blob

Well...they certainly can. It also can infuriate me beyond all reason...

Re:Linux is Obsolete (1992) by imtringued on Wednesday June 13, 2018 @08:49AM (#17302519)
The way I've understood it is that proprietary kernel modules contain an opensource part that is included in the kernel which makes a small stable API available which is then used by the proprietary kernel modules.

Making a stable API that covers the entire kernel would be a monumental task on the other hand.