Login
You're viewing the ruby.social public feed.

Replies

  • 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