Lines by C vs Rust
Lines by C vs Rust
Posted Feb 9, 2026 20:33 UTC (Mon) by tux3 (subscriber, #101245)In reply to: Lines by C vs Rust by jhoblitt
Parent article: Development statistics for 6.19
I checked the last few tags with Tokei:
Version Rust Rust% C GNU ASM Total 6.16 26999 0.08% 35518738 373967 35919704 6.17 32699 0.09% 35682999 373801 36089499 6.18 49466 0.14% 35825868 374814 36250148 6.19 108478 0.30% 36134877 376296 36619651Naturally whenever you have four numbers, this calls for an exponential regression.
We can confidently extrapolate that by v7.5 we will already see 5% of the kernel written in Rust.
7.10 will finally be majority Rust, while the decisive 7.11 merge window will remove the remaining ~15M lines of C all at once to reach a perfect 113% of Rust code in the kernel.
