Linux : Rust est dans le noyau et... pour y rester
lun, 15/12/2025 - 07:50
C'est une étape important pour le langage Rust dans le noyau Linux. Malgré les oppositions, les débats, et les problèmes d'intégration, Rust n'est plus une simple expérimentation dans le noyau Linux. Plus de 65 000 lignes de code qui font la différence. Le langage est maintenant intégré officiellement au noyau. La fin de la phase d'expérimentation a été annoncée dans la mailing list Linux Kernel, par Miguel Ojeda :
"The Rust support was merged in v6.1 into mainline in order to help
determine whether Rust as a language was suitable for the kernel,
i.e. worth the tradeoffs, technically, procedurally and socially.
At the 2025 Linux Kernel Maintainers Summit, the experiment has just
been deemed concluded [1].
Thus remove the section -- it was not fully true already anyway, since
there are already uses of Rust in production out there, some well-known
Linux distributions enable it and it is already in millions of devices
via Android.
Obviously, this does not mean that everything works for every kernel
configuration, architecture, toolchain etc., or that there won't be
new issues. There is still a ton of work to do in all areas, from the
kernel to upstream Rust, GCC and other projects. And, in fact, certain
combinations (such as the mixed GCC+LLVM builds and the upcoming GCC
support) are still quite experimental but getting there.
But the experiment is done, i.e. Rust is here to stay.
I hope this signals commitment from the kernel to companies and other
entities to invest more into it, e.g. into giving time to their kernel
developers to train themselves in Rust.
Thanks to the many kernel maintainers that gave the project their
support and patience throughout these years, and to the many other
developers, whether in the kernel or in other projects, that have
made this possible. I had a long list of 173 names in the credits of
the original pull that merged the support into the kernel [2], and now
such a list would be way longer, so I will not even try to compose one,
but again, thanks a lot, everybody."
Ce qu'il faut retenir : Rust n'est une expérimentation, Rust est là pour rester. Ce n'est pas pour autant que les débats dans la communauté s'arrêteront.
L'opposition à Rust reste vivace et même si Linus a pesé sur ce choix, cela laissera des traces chez les mainteneurs du noyau.

