r/linux • • Dec 10 '25

Kernel "Rust in the kernel is no longer experimental — it is now a core part of the kernel and is here to stay."

https://lwn.net/Articles/1049831/
1.5k Upvotes

353 comments sorted by

View all comments

Show parent comments

51

u/robin-m Dec 10 '25

Either it’s some kind of of microcontroller that you always cross-compile for, so Rust compiler availability doesn’t matter, just architecture support. Or it doesn’t even make sense. Each driver is made specifically made for a specific hardware. It’s impossible that you have a driver that already exists, but for an architecture that doesn’t support the language the driver was written into. Driver aren’t hardware-independant user code.

20

u/Niautanor Dec 10 '25

Drivers for usb or PCIe devices don't necessarily care what architecture they get compiled for. You can develop a driver for e.g. a usb network adapter on x86 and then use it on another platform.

9

u/robin-m Dec 11 '25

Actual good point. Thanks for correcting me. EDIT: I realize I sound like an LLM. We live in a strange world, when passing the turing test is harder and harder for humans!

3

u/Indolent_Bard Dec 14 '25

Smart people sound like ai, speak dumb and they'll know it's a human.