The Register Home Page

back to article Fork that: Three alternative kernels show devs don't need Linux

Between Rust, new file systems, clashes between developers, systemd absorbing its functionality, and more, rumors of possible Linux forks are being muttered again. But there is another, better way. The Reg FOSS desk is quite a fan of niche, experimental and alternative OSes. We've been writing about them on The Register since …

  1. Anonymous Coward
    Anonymous Coward

    Interesting projects

    I hadn't seen Rustaceans (Rustards yes) and I suppose we antediluvian benighted C hacks are now Crustaceans.

    Alternative (micro)kernels that implement by design the Linux system call interface and other parts of the Linux ABI to support a GNU/Linux userland is an intriguing alternative. I think Debian/Hurd was something in that direction but I have never looked into it.

    FreeBSD's support for Linux binaries while fairly impressive does have its limits as I discovered when trying to get Nomachine Linux binaries to run under it.

    1. Liam Proven (Written by Reg staff) Silver badge

      Re: Interesting projects

      > I hadn't seen Rustaceans

      Oh, it is very much a thing.

      https://en.wiktionary.org/wiki/Rustacean

      https://rustacean.net/

      https://newrustacean.com/

      https://www.theembeddedrustacean.com/

      Etc. etc.

    2. GNU Enjoyer
      Angel

      Re: Interesting projects

      >I think Debian/Hurd was something in that direction but I have never looked into it.

      Debian GNU/Hurd is designed to have software natively compiled against the Hurd version of glibc (the same codebase, with the Hurd code enabled rather than the Linux code).

      Hurd also implements the only externally available Linux ABI - the SYSCALL interface - but that is primarily for programs that make Linux SYSCALLs after being compiled - as the old version of Hurd I tried doesn't seem to run GNU/Linux binaries.

      Hurd also implements the /dev (/dev/null, /dev/zero, /dev/{u,}random & /dev/full all there) and /proc interfaces - just not /sys.

  2. Ze

    Device drivers are always the problem, Closed source drivers in Linux and Android dont help and limit your choices even within Linux and Android.

    Linux specific features already limit BSD running Linux software I foresee the same happening to any other os that tries to become compatible.

    1. Mike007

      Linux has a massive problem with the whole way drivers are embedded in to the kernel. Sure, in theory you can have external modules but anyone who uses ZFS should know this is not the same as the way windows does it. I consider ZFS to be stable enough for production use as a driver, but the fact it is an external module means it is not safe to use on a production server that you expect to actually update from time to time.

      I have a surface pro. A lot of the hardware is not supported in the mainline Linux kernel. This means I need to install a Linux system with "just enough hardware kind of working to be able to get through the install process" (on most distros - some have a kernel that can not manage the install process without locking up) then post-install follow complicated instructions to replace the kernel with a forked version that does have the right drivers.

      What does this mean in practice? It means after following distro-version specific instructions which might not be available for the new version, I also need to override the OS update mechanisms so it doesn't try to "update" to the "official" kernel release, which totally breaks my system.

      There is working open source code for the hardware, but for various reasons they don't want every single possible driver in their codebase where they have to maintain it. Fine, then I guess we should go the module route?

      If you run ZFS on Linux then you know this is shipped as a module that can be compiled against your existing kernel to be loaded in a similar way to windows... Except there is no binary compatibility. So every kernel update, you have to recompile any such modules locally to build a new version that works with the newer kernel.

      There is also no source code compatibility between kernel versions, because why would there be? The only reason a module is likely to work on a newer kernel is because they don't change every line of code with every release, so most of the time you will be "lucky" that the relevant code hasn't been changed and therefore the module still builds.

      Even with the work distro maintainers have put in to the automatic rebuild system, sometimes a new kernel will come out where even a popular external module like ZFS will simply refuse to build until the module source code is updated to a new version that works with the newer kernel. Not likely for less popular modules. And of course the new module is no longer compatible with the older kernel unless they put #ifdef's in and maintain the code for every kernel version they want to support.

      Compare to windows land: You have a binary blob that supports windows 7, that binary will work on any windows 7 system and will continue to work as updates are released. It will almost certainly still work perfectly fine on windows 8, and 10, and 11. Most windows drivers will work just fine on any newer OS version with the only "major breakages" being 1. Pre-64bit drivers will have an issue on a modern 64bit OS. And 2. Drivers written before code signing became mandatory might be unsigned and therefore are impractical to run on a modern OS. But the basic driver is compatible and can just be installed by telling the OS "hey, use this file" with no compilers involved and a very small chance of breaking anything.

      1. Ropewash

        Source compatibility reminds me of Open Solaris. I'm no programmer and was faced with a driver I needed being written for kernel 4 when the open kernel was iirc 8 or 10. To my surprise I only had to change a few path names in the code and it not only compiled but correctly supported my hardware. (One of those TV tuner cards. Using the V4L Linux code ported to Solaris).

  3. m4r35n357 Silver badge

    Genode?

    Anyone aware of it or tried it? It is on my list to try next time I feel like messing with SSD images again. https://genode.org/

    Seems to be a "design your own system" environment, but also runs VMs and native applications (that is the limit of my understanding!).

    Looks like a very serious piece of work. There is a walk-through of the current SculptOS here: https://genode.org/documentation/articles/sculpt-25-04

    1. Liam Proven (Written by Reg staff) Silver badge

      Re: Genode?

      > Genode? … Anyone aware of it or tried it?

      Oh yes. Seen it, run it in a VM.

      It is not an OS yet. It's a demo of what might become an OS one day. There's no shell, no programs, nothing except some deeply inscrutable monitor boxes that you can look at, full of data that's presumably meaningful to the developers.

      That is why I decided not to write about it. I can't make head or tail of it, frankly. (Or a hat... or a badge... or a pterodactyl...)

      In fact that was part of the inspiration behind _this_ article:

      https://www.theregister.com/2025/07/17/symbian_forgotten_foss_phone_os/

      Symbian is _massively_ richer and more complete. It also has a POSIX environment, PIPS.

      Even if a modern revival junked all of Nokia's half-baked interfaces (Series 40, Series 60, Series 80, Series 90) and Sony Ericsson's UIQ _and_ NTT DoCoMo's MOAP, and just put something together based on whatever FOSS stuff can be coaxed into running... that would mean abandoning all the existing apps, as they were all tied into the GUI. What was left would still be more capable.

      I am told Psion used pre-standard C++ and the standard library, the exceptions handling, and much more are weird and nonstandard. So junk them. Replace them with whatever is the FOSS standard. FLTK or something.

      There's still the core of an amazing OS in there.

      It's the only smartphone OS ever with good enough realtime responses to run the GSM comms stack _on the same CPU_ as the user-facing OS. _Everything_ else uses a dedicated baseband CPU just for comms signalling.

      1. DJV Silver badge

        Re: badge?

        You mean "brooch" - ;)

        1. Liam Proven (Written by Reg staff) Silver badge

          Re: badge?

          You know what, you're right. :-D

          1. David 132 Silver badge
            Happy

            Re: badge?

            Looks like I picked the wrong week to quit [smoking / drinking / amphetamines / sniffing glue]!

  4. Anonymous Coward
    Anonymous Coward

    As a former Be employee . . .

    . . . creating a new OS is easy (for sufficiently broad definitions of "easy"); getting popular uptake is hard. The operating system is an enabler for other capabilities, and it has to capture the imaginations of a sufficiently large population of people to propagate. It needs people willing to commit resources to it and sustain it. Microsoft was adept at selling its operating systems to businesses and home users, Apple captured the hearts of creatives, and Linux won mindshare among technical people. On the basis of sheer proliferation, Linux has been most successful, now present in the bulk of phones, servers, and assorted appliances, while remaining niche in the business and home PC world, while Apple and Microsoft remains strong in their respective areas. I don't discount the value of other operating systems such as the BSDs, proprietary Unixes, QNX, etc., but the big 3 run the bulk of the world's workloads. Any new entrant either needs an exciting new market to exploit or it needs to steal mindshare from one of those three in order to thrive, which means it needs to fulfill some need that they can't. While I'm sure Reg commentards will have some opinions about architectural superiority, niche use cases, or systemd, I would be shocked if any of those moved the needle on adoption of a new OS.

    1. Liam Proven (Written by Reg staff) Silver badge

      Re: As a former Be employee . . .

      > getting popular uptake is hard.

      You're right, but... Remember the Torvalds sort-of biography?

      https://github.com/limkokholefork/just-for-fun-linus-torvalds

      "Just for Fun."

      I wrote much the same in this story:

      https://www.theregister.com/2024/02/26/starting_over_rebooting_the_os/

      «

      Who remembers the original Linux announcement?

      > (just a hobby, won't be big and professional like gnu.)

      Just about everything that set out to be big and professional, failed. GNU HURD. Microsoft OS/2. Apple Copland. IBM Workplace OS. Apple and IBM's Taligent.

      Whereas CP/M and DOS and Windows, even Unix itself, all started out as fun little proof-of-concept things that barely did anything, but were fun to play around with.

      Be small. Be simple. Be fun. Embrace being just a toy.

      The other thing is that modern FOSS Unix isn't much fun any more. It's too complicated. A mere human can no longer completely understand the whole stack. That's why we have to chop it up into bits with virtualisation: to make it manageable and scalable.

      I miss when it was simple and you could understand the whole thing, and so do a lot of people.

      »

      1. DJV Silver badge

        Re: I miss when it was simple

        Yeah, absolutely! Back in the very early 1980s, I had a full disassembly printout of the PET ROMs and could just about get my head around everything in there. A few years later, I "ported" CBM Basic 3.5 (from the C16 and Plus/4) to the C64 in order to use the extra BASIC commands available. Fun times!

      2. Anonymous Coward
        Anonymous Coward

        Re: As a former Be employee . . .

        Oh, I would agree that all those projects started as works of passion; I think that's even true of Apple, notwithstanding the fact that it started as a commercial enterprise. Who could possibly have predicted Linux's runaway success, especially given what a massive PITA it was to install and use in the beginning? Somehow it captured the imaginations of a generation of nerds, and the rest is history, a success which will be incredibly difficult to replicate. Not to say it can't happen, but I think it will arise as much from luck and circumstance as a particular vision.

        1. Anonymous Coward
          Anonymous Coward

          Re: As a former Be employee . . .

          Apple didn't start as a commercial enterprise, it was a computing enthusiast group in Wozniak's parent's garage. Once they had something working and running basic they decided to pitch it to HP. That didn't work so they started a company.

      3. doublelayer Silver badge

        Re: As a former Be employee . . .

        I get the allure of a simple OS, but the problem is the same one you mentioned in the article. Adding new filesystems with lots of complex features will make Linux even more complicated than it is now, but it's also useful enough that its separation from the kernel at the moment feels like we're losing some potential. The same thing happens with any new simple OS. Somehow, we have to bridge the gap between the cool new concept which could do all sorts of interesting things but doesn't run on much and doesn't run well where it does and something that can be used by enough people that those features get added. That inevitably makes the operating system more complex.

        In the days of MS DOS or initial versions of Unix, it was starting from such a small amount of functionality that it still looked pretty simple after a lot of improvement and new features had been made, but because the competition was also small, that worked. I hope that some of these projects do go somewhere, but there have been many new OS designs over the years, and they often didn't for the same challenges that face each of these. Simple is only a feature for a few people, mostly developers who will make it less simple for whom a blank slate is easier to develop on. For the average user, simple often means that something they want to do is not working because some feature is missing.

      4. Dan 55 Silver badge

        Re: As a former Be employee . . .

        How about Fuzix for a "fun" UNIX? I.e. something that's small enough for one person to understand and modify.

        By the way, about the post below, Fuzix could be concievably be criticized for being a 1960s UNIX design with a few changes for what's been learnt since then but modern-day BSD and Linux is anything but a 1960s design, they've grown too much, the scheduler and I/O is different, they expect different things from memory mapping, and now won't even work on CPU architectures from back in the day. They are now a 21st century design and maybe in many ways the worse for it?

        1. Liam Proven (Written by Reg staff) Silver badge

          Re: As a former Be employee . . .

          > How about Fuzix for a "fun" UNIX?

          Yes and no.

          I mean, I admire it, but I used Unix in the 1980s and have zero nostalgia for it.

          There's a trend now for FPGA recreations of classic 1980s computers, from my ZX Spectrum Next to the Vampire Amiga kit.

          How about maybe a recreation of a really high end *80286* PC?

          Not 386, because that brings in Win9x and NT and Linux and the slippery slope to vast complexity. But a fast tricked-out 286, and a tricked-out 16-bit Unix to run on it? That could be interesting.

          There were a handful of 20MHz 286s and they were faster than 20MHz 386s. I wonder if it could be pushed to 32MHz? 4x the clock speed of an 8MHz ISA bus, with local-bus graphics and storage.

          16MB of RAM, some fast SVGA card, Soundblaster, Ethernet. CF card for storage: it's electronically easier than SD.

          A 16-bit Fuzix could be interesting, but TBH I don't want to go back to bank-switching on 8-bits.

          1. Dan 55 Silver badge

            Re: As a former Be employee . . .

            Only a 386 has a protected mode with a flat segment-less address space, on a 286 you have to mess around with 64K segments.

            There's a 68K Atari ST build which is probably better for 16-bit UNIXes. From there it would be a short step to an Amiga build... another project on the "projects I'm never going to even start, yet alone finish" pile.

            A Next version is also a short step from the ZX-Uno build which you should be able to run on the Next in 128K + DivIDE mode. There was an initial commit for the Next on Github but then it was removed again.

            1. Liam Proven (Written by Reg staff) Silver badge

              Re: As a former Be employee . . .

              > Only a 386 has a protected mode with a flat segment-less address space, on a 286 you have to mess around with 64K segments.

              Oh, I know. Much simpler CPU though. Xenix was a fine OS. Coherent looked pretty good although I never got to play with it at the time, and only Coherent 4 is FOSS now -- the final x86-32 version.

              Segments were a pain but there was also value in the concept. The idea of being able to mark segments as R/O, R/W, or R/W/X in a multitasking OS has merit for enforcing security, for instance. This is part of how Multics worked, I believe.

            2. sw guy

              Re: As a former Be employee . . .

              In my remembering, segments on 286 were not a fixed size: One have to define size within the segment descriptor.

              You could even mark a segment as backward from its base address.

              Is my remembering wrong ?

          2. Bitbeisser

            Re: As a former Be employee . . .

            80286 CPUs, from 3rd party manufacturers, ran as fast at 25MHz. I used to work on a computer with a 25MHz 80C286 made by Harris. And I used to run for a while Coherrent 3 on it, after CP/M-86 and derivatives proved to be too limited for practical use at that point. That was probably as close as a "fun" Unix (though independently developed) would be on such a machine. I just gave up on it back then when Commodore decided not to move ahead with their CBM 900 project, for which I was already developing/porting business software before they pulled the plug.

      5. ChoHag Silver badge
        Stop

        Re: As a former Be employee . . .

        > The other thing is that modern FOSS Unix isn't much fun any more. It's too complicated. A mere human can no longer completely understand the whole stack. That's why we have to chop it up into bits with virtualisation: to make it manageable and scalable.

        > I miss when it was simple and you could understand the whole thing, and so do a lot of people.

        Taking the system I'm sitting in front of as an example, OpenBSD configures itself with a pair of tiny shells scripts:

        661 /etc/rc

        437 /etc/netstart

        1098 total

        The init daemon is built from a single file:

        1430 /usr/src/sbin/init/init.c

        The kernel sources are around 5MB and even with drivers and nearly two dozen architecures still just about fit uncompressed on a CD:

        627M /usr/src/sys/

        2.2M /usr/src/sys/kern

        1.4M /usr/src/sys/sys

        700K /usr/src/sys/ufs

        856K /usr/src/sys/uvm

        The installer is a small and also very readable shell script:

        146 /usr/src/distrib/miniroot/dot.profile

        3750 /usr/src/distrib/miniroot/install.sub

        167 /usr/src/distrib/amd64/common/install.md

        4063 total

        Small, simple and fun. You may be confusing Unix with GNU. The clue is in the name.

        1. Liam Proven (Written by Reg staff) Silver badge

          Re: As a former Be employee . . .

          > Taking the system I'm sitting in front of as an example, OpenBSD configures itself with a pair of tiny shells scripts:

          You read the description I've used at least twice, right?

          «

          > What are some pros and cons of using OpenBSD instead of Linux?

          Pros: htop only fills half of your terminal, and you know exactly what each process does because you put them there. A few well-written man pages are the complete documentation of the system. The whole thing is run by a handful of shell scripts.

          Cons: exactly the same text, but read with a different tone.

          »

          https://news.ycombinator.com/item?id=38917023

          I used it here:

          https://www.theregister.com/2024/01/15/kde_6_kde_5_openbsd/

          and here...

          https://www.theregister.com/2024/04/12/openbsd_75_disk_encryption/

          AND here...

          https://www.theregister.com/2025/05/27/elusive_goal_of_simplicity/

      6. GNU Enjoyer
        Facepalm

        Re: As a former Be employee . . .

        >"Just for Fun."

        Yes, how people think Linus "wrote it all just for fun" is a serious problem.

        >Just about everything that set out to be big and professional, failed.

        Linus failed to ever get around to writing the OS he announced - he only got around to writing a kernel (although an essential part of an OS, only a small part of one).

        >GNU HURD

        The GNU OS didn't fail, but it is true that it didn't set out to be "big and professional" - rather it set out to be a fully free OS that wasn't expected to be functionally better than existing OS's, or even really used until it was ready.

        But not long after development started, it saw heavy usage on proprietary Unix's, making say GNU/k<proprietary unix name>, as its free replacements were functionally better than the previous Unix software and it had new programs that were nothing like what was offered on Unix.

        Hurd wasn't a failure either, as the developers eventually got it to boot and it works okay - development continues simply because it's a fun project.

        >but were fun to play around with.

        All of those OS's were proprietary, so not fun at all.

        >Be small. Be simple. Be fun. Embrace being just a toy.

        Why would one use toy proprietary OS's when a fully free OS that isn't as useful as toys exist?

        >modern FOSS Unix

        GNU's Not Unix! and unlike the typical "FOSS" program, it's free software.

        1. Anonymous Coward
          Anonymous Coward

          Re: As a former Be employee . . .

          Stallman, I respect greatly your work and dedication to the GNU project, but please cut down on the continual biased responses you post to this site.

          Thank-you.

          1. Liam Proven (Written by Reg staff) Silver badge

            Re: As a former Be employee . . .

            You know what, if "GNU Enjoyer" really _were_ RMS, I'd be honoured to think he took the time to read my stuff and comment.

          2. GNU Enjoyer
            Angel

            Re: As a former Be employee . . .

            I'm not Stallman.

            My comments are dedicated to the truth - but it seems being dedicated to the truth is bias and one is only "neutral" if they unthinkingly accept proprietary lies huh?

      7. David 132 Silver badge
        Thumb Up

        Re: As a former Be employee . . .

        > Just about everything that set out to be big and professional, failed. GNU HURD. Microsoft OS/2. Apple Copland. IBM Workplace OS. Apple and IBM's Taligent.

        > Whereas CP/M and DOS and Windows, even Unix itself, all started out as fun little proof-of-concept things that barely did anything, but were fun to play around with.

        As ever, there's an obXKCD for this.

      8. cdegroot

        Re: As a former Be employee . . .

        Worse: I'm pretty much still doing the same thing as on that stack of floppies I first installed Linux with. Write code (with Emacs), hang out on various forums, look stuff up on the web.

        That worked on my 486 in the '90s.I still wonder what happened.

        1. Sudosu Silver badge

          Re: As a former Be employee . . .

          I personally think that all the computer hardware and software upgrades over the last 35 years were to improve the quantity, availability, reliability and resolution of cat videos.

  5. Throatwarbler Mangrove Silver badge
    Meh

    Managarm

    The Managarm page hasn't been updated since 2023, and the Github page shows minimal updates. If it's not dead, it sure isn't moving much.

    1. Liam Proven (Written by Reg staff) Silver badge

      Re: Managarm

      > the Github page shows minimal updates.

      I see changes from 2 and 3 weeks ago.

      Maybe they just need more manpower. Get in there and help, or bung 'em some sponsorship, or get out there and spread the word about the project. Publicity is life for small FOSS projects.

    2. Anonymous Coward
      Anonymous Coward

      Re: Managarm

      I'm sure the name doesn't help. Looks like mammogram at first glance and when you figure out that it's not mammogram it takes a few more seconds to work out how it's actually pronounced!

      Absolutely awful and seemingly an endemic issue with FOSS naming.

      1. DJV Silver badge
        Coat

        Re: Absolutely awful and seemingly an endemic issue with FOSS naming

        Yep, I suspect Managarm is likely to go completely TITSUP at some point!

      2. Richard 12 Silver badge

        Re: Managarm

        Naming things is hard.

        It's really, really difficult to come up with a name that's unique, pronouncable to most of the world, vaguely meaningful, and neither rude nor insulting in any language.

        All the short names are long gone.

        1. Anonymous Coward
          Anonymous Coward

          Re: Managarm

          Apparently, Managarm means Moon-Hound in Norse mythology.

          https://en.wikipedia.org/wiki/Hati_Hr%C3%B3%C3%B0vitnisson#M%C3%A1nagarmr

          It certainly is a dog of a word!

          1. Alan_Peery

            Re: Managarm

            A rename as Moonhound would seem to be a good step.

          2. David 132 Silver badge
            Coat

            Re: Managarm

            I just assumed it was an anagram, m?

      3. Gene Cash Silver badge

        Re: Managarm

        Ugh. For example "Dia" which is an excellent application... but you try Googling when you run into issues...

  6. williamyf Silver badge

    Mr Torvalds should fork Linux Himself

    ¿What would this fork look like?

    1.) All drivers should be KLMs. No drivers in the kernel code incorporated at compile time.

    2.) Split the Kernel into parts (servers), and isolate them using the protection rings of the processor AND the new facilities that virtualization give to that end (most architectures where Linux run have had this functionality for a While now, this includes X86-64, Arm-64, MIPS, RISC-V and IBM's zVM). That way, if a KLM or a Server misbehaves, either because of a stability bug or a security bug, it does not bring the whole machine with it.

    3.) These two points alone will make it significantly easier to integrate new languages (like Rust and Zig) in Kernel Development AND significantly simplify Kernel development.

    4.) Develop a "bootstraper", maintained by the kernel team that gives the kernel the minimum set of drivers to boot. This idea is used by QNX, and the patents expired a while ago.

    5.) This will significantly facilitate the kernel development and maintenance, and put the kernel on a diet. While that will NOT make Linux a µKernel, will move it significantly in that direction.

    6.) Of course, this will not work in embeded systems, so they move to "whatevur" the fork is named. But for all the rest of the Linux ecosystem, from phones to tablets to Desktops to servers, to HPC, it will be a boon.

    If Mr. Torvalds gets wind of this idea, and wants to explore more, maybe we can meet in a neutral place, say, Playe del Carmen in Quintana Roo, Mexico, and discussing this in the surface intervals in between Cavern Dives.

    JM2¢

    YMMV

    1. AnonymousCward

      Re: Mr Torvalds should fork Linux Himself

      For educational purposes, this fork idea probably ought to be expanded upon.

      #1 is already the case for people who want their kernels that way. We have initrds to load in appropriate LKMs at boot time and while distros will add in a huge amount of functionality people are guaranteed to want as part of the kernel image itself, one doesn’t have to compile a kernel to work that way. It’s a choice people have. None of this makes a big difference since mainline Linux is intentionally designed to centralise development to make maintenance easier!

      We don’t have #2 because it’s fundamentally a bad idea for the most common interactive use cases. Even Windows NT and modern macOS both started off with microkernels but very quickly slapped in more and more privileged code precisely because such a design does not jibe well with systems that need to offer at least soft real-time performance for a large number of subsystems running incredibly varied and unpredictable workloads. The Linux kernel is already already is split into threaded servers, which is why not all bugs will result in a kernel panic, some are merely handled as an oops (depending on the driver and how able it is to manage the state of the hardware within its purview) of course, all of these have ring 0 access. You can see each in-kernel server and how much CPU time it is using by looking at top or ps or any other standard tool.

      Regarding #3, you’re moving device drivers into userspace, at which point, you’re no longer simplifying kernel development, you’re just replacing kernel development with userspace development. FUSE, CUSE and other similar userspace driver frameworks already exist, and people are already encouraged to use them. On modern distros, we’re already seeing removable block devices get mounted using competent FUSE ports of filesystem drivers for added reliability where it makes sense, while preserving the performance of non-removable block devices (where you likely want problems caused by hardware faults to be more noticeable anyway).

      #4 exists. Execute ‘make menuconfig’ and you can strip out everything you don’t need, to the point where you have no display, no sound, no networking, no kernel-mediated IPC, no power management (depending on the platform) etc. Scripts also exist to bootstrap kernels with only the minimum functionality needed to boot on any given set of hardware, if that’s what you want to do, and you can leverage this to do the opposite of #1 and have everything compiled into the kernel image itself (even proprietary things like the NVIDIA kernel module are just a Y or M away from working either way; used to do this when I had a single core Athlon64, for fun!). To go one step further, there’s also User Mode Linux which lets you reduce the kernel down to a set of functionality needed only to run atop an existing kernel as a userspace process. UML was so well designed for the time that it is how companies like Linode started their commercial ventures!

      #5 would only replace one set of complex APIs with another set of complex APIs, which, due to drivers being out-of-tree would then need to be maintained both an API and ABI compatible manner for far longer than Linux kernel developers currently do. One need only look at the myriad of duplicated driver APIs under Microsoft Windows for both kernel and userspace drivers to see that this does not simplify development whatsoever. The only developers which can get away with doing this are Apple, and the lack of quality in handling third-party hardware in their case shows why it’s irrelevant.

      #6 under the status quo, embedded can work both ways. The memory savings are often minimal, and if developers are that concerned, Linux ditching simpler, less generally useful options (e.g. SLOB as opposed to SLAB or SLUB for memory management, simpler, less favourable CPU and I/O schedulers etc.) to simplify development would already favour forking anyway.

      I think it’s worth pointing out that I’m not a professional programmer, so not everything I’m writing here will be perfectly accurate, but I am someone who kept up to date during the “good old days” of 2.6.x growing up, and got to see a lot of changes, discussions and competition come and go, as everything changed over time. More importantly, I got to see userspace drivers get moved to being in-kernel and vice-versa with no real impact on complexity or maintenance. It’s just as often that moving things in-kernel simplified stacks as did moving things to userspace.

      My takeaway is that decent API standardisation and programmers learning over time where the abstraction boundaries should be is responsible for making things easier to maintain, irrespective of whether code is privileged kernel code running on ring 0 or not. One need only take a look at how mode setting worked on Xorg a few decades ago compared to today (we now have standardised kernel mode setting) or the myriad of changes made to sound mixing (lol ALSA), how the elegance of KVM inspired major changes for both Xen and Hyper-V, the changes to netfilter and many other examples to show what really matters for desktop and server systems alike.

    2. Anonymous Coward
      Anonymous Coward

      Re: Mr Torvalds should fork Linux Himself

      You just described Hurd

  7. This post has been deleted by its author

    1. Liam Proven (Written by Reg staff) Silver badge

      > What? No FreeBSD and similar?

      Don't be silly. We're trying to get _away_ from the 1960s designs, not _encourage_ them!

      1. nijam Silver badge

        > We're trying to get _away_ from the 1960s designs, not _encourage_ them!

        And there is the nub of the problem, hidden in thet statement. It's the 1960s parts that are good; what's been added since, less so.

        "Progress may have been alright once, but it went on too long." -- Oscar Wilde, I believe.

        1. Liam Proven (Written by Reg staff) Silver badge

          > It's the 1960s parts that are good; what's been added since, less so

          They were very good in their time, for machines of their time. The simplistic conceptual model was appropriate:

          * you have a standalone, non-networked, minicomputer shared by multiple timesharing users

          * they use plain text terminals connected over serial lines

          * CPU, RAM and disk are all in very short supply and usage must be restricted

          * so, simple filesystem, simple shell, simple plain text files everywhere.

          * very simple, almost excessively stripped out programming language, for tiny programs and never mind the absurd danger levels.

          But within a decade all these assumptions started to become obsolete.

          The microprocessor arrived and minicomputers started to go away.

          ======

          By the 1980s, it was all different:

          * single-user 32-bit microcomputers were powerful enough to run Unix-like OSes (e.g. Xenix, Coherent) easily and well.

          * all the minicomputer resource-sharing stuff is now legacy baggage -- pure unnecessary bloat

          * they were also able to run simple primitive GUIs which were better for non-technical users

          * but not at the same time as a Unix!

          ======

          By the 1990s it all changed again:

          * now those single-user 32-bit micros are all networked

          * TCP/IP is taking over

          * they can now run a GUI comfortably at the same time as a multitasking OS

          So that's where Plan 9 comes in.

          The emphasis has changed. It has in fact literally reversed.

          Now it's 1 person using multiple computers, which is the exact inverse of the Unix plan, where several people share 1 computer.

          So, Plan 9 embeds networking and clustering into the kernel.

          * The filesystem is inherently networked

          * So is the GUI.

          * Lots of the power features of the CLI and the API are not safe in a clustered networked environment so they're removed

          * It's smaller, simpler, cleaner

          * Everything is in a container. There are only virtual views of virtual filesystems. There's no "real" privileged view. You can never be sure if a file is on the same disk or the same computer, so remove anything that assumes that.

          E.g. no fast `mv` command that renames things into a different directory on the same disk -- you can never tell if it _is_ the same disk. Don't assume. To move, you must copy then delete the original. "It's the only way to be sure."

          I think Plan 9 is what happens when Dennis Ritchie and Ken Thompson looked at microkernel R&D, went "no this is too hard" and did it all using the filesystem instead. It's an inspired design.

          It's a work of genius and the second-class intellects who embraced Unix can't understand the brilliance, so they stuck with the older, broken, obsolete model.

          ======

          So, no, I completely reject your assertion that the '60s bits are the good bits. There are nuggets of brilliance in there but it needs to be refactored for a different world.

          And frankly, since the early 1990s, nothing has changed _that_ much to obsolete that work.

          We went from networked single-user single-32-bit-CPU workstations to... networked single-user multi-64-bit CPU workstations. Big fat hairy deal.

          Inferno built on Plan 9 by finally junking C and abstracting away the CPU machine code.

          That's good.

          But maybe we need a choice: maybe we need the option of native code for some parts, and portable binaries for other parts.

          Let's keep that improved successor to C -- some hybrid of Limbo and Go maybe -- and make it both able to be compiled to native code _and_ to bytecode.

          As in Inferno, we need a bytecode runtime embedded into the kernel. The way we do it now is laughably absurd: one runtime for Java, one for Python, one for Perl, one for Javascript, one for Wasm...

          But we need it to be 64-bit and Dis isn't.

          Either way, we can do better than this '60s bullshit, because those times have gone.

          1. Brewster's Angle Grinder Silver badge

            NFS (Not Fucking Safe)

            "To move, you must copy then delete the original. "It's the only way to be sure.""

            And that is a huge problem. You've opened yourself up to races. The point about rename(2) (i.e. mv(1)) is it's atomic: the file always exists in one of two exact forms. There should be no point where a file is deleted and nothing exists. And no point where the file is not 100% complete (which can happen if you decide to overwrite it rather than delete first).

            We know what happens when these assumptions are broken. It's called NFS. I've not used Plan 9, but you're saying they've designed in race conditions. That's not good. That's a catastrophe.

            1. Liam Proven (Written by Reg staff) Silver badge

              Re: NFS (Not Fucking Safe)

              > but you're saying they've designed in race conditions.

              If I am then I've got it wrong.

              For clarity, when I talked about 2nd class minds, embracing and extending Unix, then I _aspire_ to be a 2nd class mind compared to Ritchie, Thompson and Pike. 3rd class is more likely.

              These guys are geniuses.

              As a minor detail they designed UTF-8 on a napkin in a diner and now, we get this:

              UTF-8 is a Brilliant Design (2025-09-12)

              https://iamvishnu.com/posts/utf8-is-brilliant-design

              What I am getting at is:

              I am very confident they'd have thought of that.

            2. Anonymous Coward
              Anonymous Coward

              Re: NFS (Not Fucking Safe)

              These are two discrete functions: copy, then delete. If copy fails delete doesn't happen. This is not a race condition. It's also necessary functionality for variable latency connections.

          2. Anonymous Coward
            Anonymous Coward

            Inferno can run on top of present-day OS and there an experimental 64-bit port of Inferno but I fail to see what major improvement there is over the 60s bullshit apart from everything is a file (but even more so) and there's a CLR.

            I'm not sure that files are an appropriate representation for everything. I guess in the example above the rename command always has to copy data because it could rename a file to a network endpoint or a remote filesystem or something similar, but if the price of that is sacrificing performance for renames within the same partition or making it impossible to rename files when there is low partition space then there has to be some major reason to abstract everything as files in the first place. It also seems odd that such an obvious check on whether the source and destination are on the same partition and if so rename instead of copy can't be done within the mv command.

            Only Inferno's userland utils are written in Limbo, everything else is still .c and .s - after all this time there's still no better systems programming language.

            Windows has a common managed code runtime and languages can be added to it but as far as I know there's only IronPython so there's little demand for it. There's also Windows Scripting Host which has had more success but again not much more and neither .Net runtime or WSH have solved Windows' problems elsewhere.

            Making the CLR mandatory would cause more problems than it would solve. Could you imagine if everything had to be written in Java or C# on Windows? The platform would be abandoned overnight.

            The main attraction to Inferno is it's a clean design which hasn't encountered real-world needs yet. If Plan 9 had been successful, it wouldn't look like Inferno does today, it'd be just as messy as Windows or Linux. There would be things bolted on for GPUs and DMA which don't fit into the nice neat file abstraction, but that wouldn't be due to its 90s bullshit, it'd be due to its 2000s or 2010s bullshit. There isn't any popular OS which can keep its initial simple clean design over decades.

            1. Liam Proven (Written by Reg staff) Silver badge

              > there an experimental 64-bit port of Inferno

              Thanks for this. New to me. Will study.

              Saying that, I disagree with most of your comment. :-)

              > I'm not sure that files are an appropriate representation for everything.

              Don't get me wrong. Neither am I. I presented a FOSDEM talk to 1000 people about why we should design an OS with no files whatsover. I got told it was one of the best ever talks that year.

              https://archive.fosdem.org/2021/schedule/event/new_type_of_computer/

              I turned it into an article:

              https://www.theregister.com/2024/02/26/starting_over_rebooting_the_os/

              This was written later and is a shorter teaser:

              https://www.theregister.com/2022/08/01/optane_intel_cancellation/

              I am *NOT* arguing for this model.

              What I am saying is: Diversity is good. Different designs are good.

              The original Unix model was ASCII text files and C.

              Plan 9 extends that to UTF-8 files and a better cleaner C. Fine.

              But Unix since has shown people want lots of languages, some compiled, some interpreted. OK. So make that part of the design.

              Have as many compilers as you like, and for interpreted scripting languages, provide one central runtime so they can all interoperate.

              > f Plan 9 had been successful, it wouldn't look like Inferno does today, it'd be just as messy as Windows or Linux.

              Of course, yes!

              That was the first question when I presented the follow on talk:

              https://archive.fosdem.org/2024/schedule/event/fosdem-2024-3095-one-way-forward-finding-a-path-to-what-comes-after-unix/

              That became this series:

              https://www.theregister.com/Tag/One%20Way%20Forward/

              People _love_ the "everything is a file" model. Give it to them, but better.

              But also let's have as many other models as we can think up.

              Me, I want a multithreaded multiprocessor RISC OS. I want a modernised RISC-native Classic MacOS: Apple, give us the Copland sources and let the community try. I want a desktop Newton, a Dylan/SK8 Lisp machine. I want more weird and wonderful.

  8. Groo The Wanderer - A Canuck Silver badge

    Research operating systems that try to maintain ABI compatibility with Linux are interesting from a practical approach, but not so much from a theoretical approach. I find systems that try to build a whole ecosystem that is only source code compatible with Linux, the BSDs, et. al. but which uses entirely different philosophies to be a far more interesting read. I've even tried spinning one or two up in VMs, but for the most part they don't support the VirtualBox "hardware" environment, so I haven't had a lot of luck (rumour has it that those paying through the nose for Broadcom's virtualization stack have better luck with such cases.)

    What I would like to see is a serious modernization effort for the venerable POSIX APIs. So much has changed in the decades that have come and gone since that stack was crafted. Maybe it's time for an update and possibly a re-think in light of modern massively parallel cored systems.

    1. Liam Proven (Written by Reg staff) Silver badge

      > only source code compatible with Linux, the BSDs, et. al.

      A valid POV but there's lots of proprietary stuff out there I'd like to run.

      I even want the old stuff where the sources were long lost.

      > What I would like to see is a serious modernization effort for the venerable POSIX APIs.

      That's the modern Plan 9 / Inferno idea I'm advocating here:

      https://www.theregister.com/Tag/One%20Way%20Forward/

  9. Gene Cash Silver badge

    "modern FOSS Unix isn't much fun any more"

    Sure it is... I don't really muck about with the OS itself, but I use the hell out of it because it's very customizable.

    I wrote scripts that upload stuff from my cameras and GPS units when I plug them in. I have rsyncd set to accept daily backups from my phone.

    I wrote a system where my phone talks to my Raspberry Pi and has it open the garage door when I get home (secured by an SSL client cert on the phone). The Pi then monitors a beam and closes the door afterwards. Then my phone interrogates whichever motorcycle I'm riding and gets the odometer, then sends it to my Linux box, which puts it in my maintenance spreadsheet, then scans the spreadsheet and reminds me of pending/missed maintenance.

    I have a SparkFun Thing Plus that monitors the outside temperature, wind, and rain, and a cronjob on the Linux box that puts readings in a SQLite database. It also tells me about the current weekly/monthly/yearly highs/lows. That informs my decision as to which jacket to wear for the day.

    I have a multiprogram chain to do 3D printing, involving EMACS, Python, OpenSCAD, PrusaSlicer, Firefox, and wget, plus a cronjob that snaps pics that I can look at when I'm not in the house to see how my print is going.

    I have no idea how I would do any of that in Windows. Or even if I could... modern FOSS UNIX on both my desktop and my phone make it all possible.

  10. GNU Enjoyer
    Facepalm

    What am I reading?

    >hundreds of Linux binaries from the GNU coreutils

    Those are GNU binaries for GNU that don't care about what kernel you use - rather those care about being able to talk to glibc;

    https://cgit.git.savannah.gnu.org/cgit/coreutils.git/tree/src/cat.c

    https://cgit.git.savannah.gnu.org/cgit/coreutils.git/tree/src/expand.c

    https://cgit.git.savannah.gnu.org/cgit/coreutils.git/tree/src/force-link.c

    >but could help pick up that platform's remarkable array of software, expertise, and accumulated knowledge, even if Linus retired.

    Ah yes, give credit to Linus for everything - especially for things that he didn't have anything to do with.

    1. Liam Proven (Written by Reg staff) Silver badge

      Re: What am I reading?

      > Ah yes, give credit to Linus for everything - especially for things that he didn't have anything to do with.

      I wasn't even *hinting* at that!

      Did you read Rupert's comment? You should.

      If Linus retires, when Linus retires, I think Linux may well shatter in a thousand directions.

  11. bazza Silver badge

    I do enjoy these articles into the more exotic corners of the world of operating systems. As someone who has fond memories of Solaris, OS/2, and still nominally on VxWork / INTEGRITY / Linux / QNX and Windows, I've had a reasonable amount "new" in my time, so am keen to try more!

    It's interesting how many OSes are in Rust. One suspects that if Linux were also going hell for leather towards Rust there'd not be so many.

    There is an angle to Rust that is quite unique, and I wish there were hardware for it. Rust has a unique view of data ownership. That could (if the compiler were written to do it) be exploited to auto parallelise across processes connected by channels, instead of being threads on the same SMP environment. For those with deep memories, something like Transputers, but with the language able to work out what bits of codes it can put one which processor. This page on Fearless Concurency even mentions channels and ownership transferrence.

    This dovetails in with thoughts that to finally rid the CPU world of SPECTRE / MELTDOWN like vulnerabilities, we're going to have to stop having cache-coherent SMP environment and have something more like Transputers once again.

    The intruguing possibility is that source code written in Rust could be compiled up equally well for an SMP environment, or a NUMA / channel hardware architecture a bit like Transputers. Now that really would be a neat trick.

  12. This post has been deleted by its author

  13. Fido

    DragonflyBSD

    The fact that Linux started out as a hobby operating system and became useful is an exception not an expectation.

    In my opinion a similar case in history is the DragonflyBSD fork of FreeBSD. The main result was another hobby operating system that occupied the time of some excellent developers whose efforts may have been appreciated more without the fork.

    On the other hand, it seems likely good developers might have a need to write some code just for fun.

    1. Liam Proven (Written by Reg staff) Silver badge

      Re: DragonflyBSD

      > In my opinion a similar case in history is the DragonflyBSD fork of FreeBSD.

      That is a good point, and I can't fault your overall comment at all really.

      My personal BSD-that-didn't-take-off was NextBSD:

      https://en.wikipedia.org/wiki/NextBSD

      It was an attempt to bring most of the new shiny that Apple has written for OS X over to a FreeBSD base, without Apple's idiosyncratic kernel. That sounded like an excellent idea to me.

      As for Dragonfly, well, yes, no argument, but for me the most interesting part of the project is the HAMMER2 filesystem. A true cluster filesystem for FOSS Unix that multiple machines can concurrently access simultaneously without a lock-management node. If they can get that working it will be potentially industry-changing, and it could obsolete both ZFS and bcachefs in a stroke.

      It is notable that AIX never went FOSS, but JFS did. Dec Tru64 never went FOSS, but AFS did. Irix never went FOSS but XFS did.

      Sometimes at the end of the day it wasn't worth disentangling the OS but the filesystem was worth having.

      I think that might prove true of DragonflyBSD in the long run.

  14. steelpillow Silver badge

    Language differentiation

    I do like the model of writing all the base-level core, and therefore intrinsically unsafe, code in a suitably unsafe language, and then require all the dependent stuff to be in a safe language, which must call on the core to do anything risky for it.

    A bit like letting me plug my lappie and toys in on the desktop, but to do anything to the wiring under the desk you have to call in the staff electrician.

    But problems can arise if the one language is a subset of the other. A bit like me, as a user, not being not allowed to tinker under there even though I am a qualified electrical technician - but hey, if nobody's looking....

    OTOH, if the two languages are wildly different (say, Rust and Java), then understanding what to pass on/expect might not always happen right.

    Um.

  15. JoeCool Silver badge

    Intel drivers

    "so we can hope for some better FOSS drivers for newer Intel GPUs before too long"

    If that actually happens it will be a triumph of human determination and ingenuity against the entrenched culture of software mediocracy that has ruled intel since .... iRmx ?

  16. Moldskred

    Splitters

    "What if a whole group of disaffected kernel developers, chased out of the project, wanted to go their own way?"

    Didn't Monty Python do a bit about that in 'Life of Brian'?

  17. daleto

    MorphOS/AmigaOS

    Hi

    Even MorphOS and AmigaOS is still developed.

    Now with its upcoming Mirari board.

    Looks interesting.

POST COMMENT House rules

Not a member of The Register? Create a new account here.

  • Enter your comment

  • Add an icon

Anonymous cowards cannot choose their icon

Other stories you might like