Hacker News new | ask | show | jobs
by Sharlin 482 days ago
Most likely Rust will stay strictly on the driver side for several years still. It's a very natural Schelling fence for now, and the benefits are considerable, both in improving driver quality and making it less intimidating to contribute to driver code. It will also indirectly improve the quality of core code and documentation by forcing the many, many underspecified and byzantine API contracts to be made more rigorous (and hopefully simplified). This is precisely one of the primary things that have caused friction between RfL and the old guard: there are lots and lots of things you just "need to know" in order to soundly call many kernel APIs, and that doesn't square well with trying to write safe(r) Rust abstractions over them.
2 comments

An example of the latter: drm_sched

https://vt.social/@lina/113051677686279824

What's the link for the lkml drama?
I'm not sure but I'm guessing it's this one https://lore.kernel.org/lkml/20230714-drm-sched-fixes-v1-0-c...
> and that doesn't square well with trying to write safe(r) Rust abstractions over them.

Or just using those kernel APIs, period.