
Why? Because it's much safer than C, especially at handling memory errors.Īs Ryan Levick, a Microsoft principal cloud developer advocate, explained, " Rust is completely memory safe." Since roughly two-thirds of security issues can be traced back to handling memory badly, this is a major improvement. Led by Josh Triplett, Rust language lead, and Nick Desaulniers, a Google engineer, they proposed using the system-level Rust language inside the kernel. No one's going to rewrite the kernel's 25 million lines of C in Rust. While Linus Torvalds is sure, Linux won't end up being written in Rust. At the virtual 2020 Linux Plumbers Conference, where the top Linux kernel developers hash out Linux's future, the idea of introducing Rust as the kernel's second language was introduced. This has been coming for several years now. They depend on core kernel functionality, but nothing depends on them." Senior Linux kernel developer Greg Kroah-Hartman had told me he believes " drivers are probably the first place for" Rust to appear in Linux since "they are the 'end leaves' of the tree of dependencies in the kernel source. Looking ahead, Ojeda wrote, "We will keep upgrading until we do not rely on any unstable features at which point we may want to start declaring a minimum Rust version is supported like it is done, e.g. Currently, it's using Rust 1.57.0.īy doing this, as Linux kernel and lead Rust on Linux, developer Miguel Ojeda, put it, "By upgrading the compiler, we have been able to take off the list a few unstable features we were using." This, in turn, means Rust on Linux will be more stable. Going forward, Rust on Linux will be migrating every time a new stable Rust compiler is released. The biggest change in these new packages is that the Rust code proposed for the kernel now relies on the stable Rust compiler rather than the beta compilers.


Microsoft's Edge browser for Linux is now available for all users.AWS embraces Fedora Linux for its cloud-based Amazon Linux.
