The programming language Rust will join the Linux kernel


What just happened? Rust will soon become part of Linux, Torvalds decided. Memory-safe programming language will join C and other traditional language developers use it to create new open source kernel parts and engines everywhere.

Controversy over Rust’s inclusion in linux Seems to be over: Linus Torvalds, original creator and current maintainer of the open source kernel, He decided That is, “unless something strange happens”, Rust will be part of the final Linux 6.1 release.

Rust is a modern, general-purpose programming language designed by Graydon Hoare while working at Mozilla, the first officially sponsored and built experimental browser engine Servo.

Like many other compiled languages, Rust can deliver native performance while running different types of applications – from traditional computing to low-resource and embedded hardware. Regardless of performance, Rust is designed to deliver memory integrity From scratch to eliminate many classes of errors and potential vulnerabilities at compile time.

The first version of Rust was released 12 years ago, while including the language in the Linux kernel has been under discussion for some time. Google, one of the founding members of the Rust Foundation along with AWS, Huawei, Microsoft and Mozilla, actively uses Rust to develop Android – a mobile operating system based on a modified version of Linux.

After the announcement of Rust support in Android, the Android team started pushing for the language to be included in the kernel as well. In 2021, team member Almeida Filho Wrote that Rust was “ready to join C as a practical language for implementing the kernel.” Filho said that the new language can help reduce the number of potential bugs and vulnerabilities in privileged code, while playing well with the underlying kernel and maintaining its performance characteristics.

There have been concerns among major Linux contributors about the non-standard extensions that Rust needs to work with the kernel, but according to Torvalds, programmers have been using exceptions to the standard C language for “decades”.

Torvalds added that there are still some issues with compilers, but since Rust is well supported in a file clatter Front end, integrating a programming language on the kernel will probably help and not hurt it. In the first release, Torvalds warned that Rust would only have the basic infrastructure with no “dangerous use case” to show yet. However, integrating the kernel should represent an important first step in the future of Linux + Rust.



Source link

Related Posts

Precaliga