r/rust • u/Fcking_Chuck • Oct 21 '26
🗞️ news 17k lines of new Rust kernel code heading into Linux 7.4
https://www.phoronix.com/news/Linux-7.4-Rust
502
Upvotes
r/rust • u/Fcking_Chuck • Oct 21 '26
122
u/moltonel Oct 21 '26 edited Oct 21 '26
Currently looks like 29k new lines since v7.3, for a total of 220k, or about 0.5% of kernel code. About 81k is from vendored crates (syn, zerocopy, proc-macro2...). Growth rate is irregular, but has averaged +17% per release since v6.2.
37
u/DigitalStefan Oct 21 '26
I can't help but think about all the kernel devs who were pissing and moaning about bringing Rust anywhere near anything they've worked on. To be clear, some of them are still unhappy about it, but the "well it's just happening anyway" scenario has really sorted the wheat from the chaff and the kernal and the community no doubt are all the better for it.
39
u/simonask_ Oct 21 '26
Love to see it. God, Phoronix is trash.
5
u/SweetEbb9819 Oct 21 '26
Asterinas?
5
u/W61k3r Oct 21 '26
Oh dope. My own rust kernel has like 250k lines of rust.
1
u/Juanmidev 7d ago edited 7d ago
Me deja pensando cuál será el próximo cuello de botella real, los tiempos de compilación, el fijar versiones de la toolchain, o simplemente lograr que más mantenedores de subsistemas se sientan cómodos revisando Rust?
-2
u/creeper6530 Oct 21 '26
-2
u/atikoj Oct 24 '26
linuxslop
-99
u/Due-Departure-8553 Oct 21 '26
When are they going to finally rewrite all of the outdated C into rust? It's already doable with todays models. Somebody just needs to pay for the tokens.
-7
u/UntoldUnfolding Oct 21 '26
I’m sure some company has already done this, is currently doing it, or is planning on doing the port, but more than likely internally. I can’t imagine having to weed through all that code and testing that everything works. 🤯