Login
You're viewing the ruby.social public feed.
  • Nov 29, 2026, 7:03 PM

    @mcc @davidgerard the kernel is a giant monster of monolithic code which means forking it would be a massive undertaking

    Folks who want to work on kernels who don't want to work on "the" linux kernel would rather work on a modern kernel design than the monolith that Tannenbaun told Linus was a bad idea back in 1992

    💬 1🔄 2⭐ 0

Replies

  • Nov 29, 2026, 7:09 PM

    @Jer @davidgerard i am not an OS person. but if this is about microkernels, i do not believe that microkernels are the future and i see much real-world evidence that people who start work on microkernels do not stick with that architecture once they hit contact with real-world user requirements.

    i am probably going to be contributing to a microkernel soon. that project's argument for µkernels is "they're easier to write and maintain and make secure". that much sounds plausible

    💬 2🔄 0⭐ 0
  • 💬 1🔄 0⭐ 0
  • Nov 29, 2026, 8:03 PM

    @lispi314 @Jer @davidgerard I think that leveraging hardware memory protection is a useful thing rather than trusting entirely to a language's safety features. Language safety guarantees can't persist in the presence of heap corruption and heap corruption is easy.

    Incidentally, I've heard that the current MacOS kernel (not a proper µkernel for many years) is able to hardware-memory-protect *parts of the monolithic kernel* from accessing memory it shouldn't. That's very interesting to me.

    💬 1🔄 0⭐ 0
  • Nov 29, 2026, 8:13 PM

    @mcc @Jer @davidgerard It's somewhat similar to what Genode and Qubes do, to varying degrees.

    Hardware isolation can be defeated by a number of ways too.

    I would much rather rely on language semantics with an implementation that opportunistically also uses hardware semantics to redundantly enforce its own semantics when they're available.

    Heap corruption is easy in broken languages. And on broken hardware, which includes most hardware sold, yes (even Linus noted that). And heap corruption through exploiting broken hardware bypasses all IOMMU & other hardware isolation mechanisms.

    But an additional problem with relying solely on hardware semantics rather than language + optional hardware is that it instantly turns all other hardware into e-waste. I consider that irresponsible and inaccessible.

    is able to hardware-memory-protect parts of the monolithic kernel from accessing memory it shouldn't. That's very interesting to me.

    Reading on what they do, a lot of it reads like they picked the parts of CHERI they liked. Which is indeed the way to go.

    💬 0🔄 0⭐ 0
  • Nov 29, 2026, 8:17 PM

    @mcc @Jer @davidgerard i have no clue what kind of "real-world user requirements" could possibly necessitate sharing memory in all kernel code because that's one of the major reasons linux is slow. locality is always the key to performance

    💬 1🔄 0⭐ 0
  • 💬 1🔄 0⭐ 0
  • Nov 29, 2026, 8:39 PM

    @mcc @hipsterelectron As far as I'm aware, it's the same reason memory isolation is rare across applications in general: "pass a pointer to a regular function call" is hard to beat as a straightforward data sharing mechanism between components. Even message passing based systems with strict ownership rules are easier to build when the core payload can just be a pointer with no serialisation or data copying required.

    💬 0🔄 0⭐ 0