Ask HN: How would you convert 80% of the Linux kernel to rust?

4 leoh 4 6/16/2025, 9:47:12 PM
What do folks think? One area I’m thinking about most is how one could (a) make it easy for anyone to contribute [I’m thinking about dedicated webpages for major blocks of functionality with CI baked in (2) best ensure near-identical behavior for everything, syscalls, etc.

Comments (4)

solardev · 7h ago
> How would you convert 80% of the Linux kernel to rust?

If you just leave the hard drive out by the sea, it should happen by itself. 80% should only take a few months.

GianFabien · 7h ago
> make it easy for anyone to contribute

Perhaps you are underestimating the level of expertise required to write an operating system for modern hardware.

The core challenge with Linux is that it is a massive code base. It supports multiple CPU families and within each of them dozens of architectural variations and then there are the thousands of device drivers.

It might be more realistic to go back to fundamentals, build a secure kernel, e.g. based on seL4 and then build only for modern hardware. Let Linux handle the accreted bulk of being over 30 years old.

d00mB0t · 8h ago
<eye-roll>...Why not start your own kernel? Leave Linux alone.
JojoFatsani · 8h ago
Copilot I guess