Facebook joining "Rust Foundation"-- how to make full use of "Rust" language
Facebook has added "Rust Foundation" that supports the programming language "Rust". Amazon Web Services (AWS), Google, Huawei Technologies (Huawei), Microsoft and Mozilla have already participated in Rust Foundation.
Facebook is one of the large IT enterprises that actively promote Rust recruitment. Rust is a programming language supported and developed by Mozilla, and its memory security is higher than that of languages such as C and C++, so it is becoming more and more popular in the system programming world. It is an attractive choice when developing components such as drivers and compilers.
Rust Foundation was founded in February 2021 with AWS, Google, Huawei, Microsoft and Mozilla as initial members. Microsoft experimented with Rust in parts of "Windows" and "Azure". In the Android Open Source Project (AOSP), Google supports not only Rust developing operating system components, but also efforts to introduce Rust into the Linux kernel.
According to Facebook's engineering team, the company started using Rust in 2016, a year after Rust arrived at version 1.0.
In addition to the performance of leading languages such as C++, Rust also brings code security to developers. Hundreds of developers on Facebook have written millions of lines of code in Rust, "said Facebook's engineering team.
Facebook joined as a "platinum" member of Rust Foundation, supporting consortia with other large technology companies.
"since Facebook introduced Rust in 2016, it has been used in all aspects of development, from source management to compilers," said Joel Marcey, who leads the open source ecosystem at Facebook. He is currently a director of Rust Foundation.
Facebook participates in Rust Foundation to help improve and develop the language. Rust is an important presence not only for Facebook, but also for developers around the world. We will work with other member enterprises and the Rust community to make Rust the choice of mainstream languages such as system programming. "
Facebook has taken full advantage of Rust in many projects. One of them is the "Libra" of the controversial virtual currency (password asset) project. Libra is currently operated by Diem Association, and Facebook, as its core member, is related to the digital wallet "Novi". According to Facebook, the Diem block chain is mainly written in Rust.
Facebook also uses Rust to build the "Mononoke" project for the source management server.
At first, people thought it was appropriate to use C++ when developing Mononoke. At that time, the code base at the back-end of Facebook was almost clocked, so of course Mononoke was going to install it with C++, "Facebook's engineering team said.
"however, the source management team needs to consider the reliability of the source management back end. Reliability is a top priority, because damage and downtime can lead to service stoppage. There are also reasons why the team chose Rust over C++. "