Login
You're viewing the code4lib.social public feed.
  • Nov 18, 2024, 10:43 AM

    @whitequark @Mae @thomholwerda If I was working towards such a goal in any OS, I think the key is designing driver APIs built around messaging and memory sharing in such a way that consumers and providers of the API ultimately can’t tell if the other side is the kernel or a separate process - and in fact the endpoint ought to be portable. /dev nodes are very much backed by the kernel at the moment.

    💬 1🔄 0⭐ 0

Replies

  • Nov 18, 2024, 10:47 AM

    @whitequark @Mae @thomholwerda macOS in theory has the Mach messaging backed IOKit - but DriverKit doesn’t quite just hand off send and receive rights of the driver client port to the sandboxed driver process; the kernel still acts as as go-between to some extent. I guess that’s very much an application of Conway’s law - and tellingly, Apple itself seems to only use DriverKit for driving third-party devices; its own hardware still gets kernel drivers

    💬 0🔄 0⭐ 0