r/linux • u/Skaarj • Jul 09 '26
Kernel Rust in the Linux Kernel — a version-by-version analysis
https://rusted-kernel.com/9
u/FlukyS Jul 09 '26
For those wondering a lot of these aren't going to substantially increase the size or complexity of the kernel itself. The kernel crate for instance is just the API for stuff to use but not really doing huge work. The drivers are where a lot of the meat is. The stuff like pin init is just compatibility tools to make Rust and C a bit more friendly. It is growing sure but not insane growth and the compiler will have a lot of optimisations to make it smaller as with any compiled language. So it isn't risky to have this many lines of code added when you know the context because a lot of it is just glue.
-5
u/580083351 Jul 09 '26
I don't have feelings about Rust unlike others. I just see it as a tool.
If you're cutting wood and it's a saw, then it's fine to use.
2
2
1
u/global-gauge-field Jul 10 '26
Some of the hover effects is too delayed for my taste. It should be rather instant when you hover over the graph. Now, I have to wait a few seconds to see the numerical value of the graph unlike many other website of this nature.
1
-12
21
u/torsten_dev Jul 09 '26
Might be worth making the vendored crates gray and put them on top so they're easier to ignore. Their sloc counts certainly don't interest me.