Facebook joins the Rust Foundation–how it’s used the Rust language

Facebook has joined the Rust Foundation, which supports the programming language Rust. Amazon Web Services (AWS), Google, Huawei, Microsoft and Mozilla have already joined the Rust Foundation. Facebook is one of the leading IT companies that is actively hiring Rust. Rust is a Mozilla-backed and developed programming language that is becoming more popular in the world of system programming because it is more memory-safe than languages ​​such as C and C ++. It’s an attractive option for developing components such as drivers and compilers. The Rust Foundation was founded in February 2021 with AWS, Google, Huawei, Microsoft and Mozilla as initial members. Microsoft is piloting Rust on parts of Windows and Azure. Google is supporting the development of OS components by Rust in the Android Open Source Project (AOSP), as well as supporting efforts to bring Rust into the Linux kernel. According to Facebook’s engineering team, the company has been using Rust since 2016, a year after Rust reached version 1.0. “Rust brings code security to developers in addition to the performance of predecessor languages ​​like C ++. Hundreds of developers have already written millions of lines of code in Rust on Facebook,” he said. Facebook’s engineering team says. Facebook will join the Rust Foundation as a “Platinum” member and support the Foundation alongside other major tech companies. “Facebook has been using Rust in every aspect of its development, from source control to compilers, since it introduced Rust in 2016,” said Joel Marcey, head of the open source ecosystem at Facebook. He is currently a board member of the Rust Foundation. “Facebook joined the Rust Foundation to help improve and develop the language. Rust has become an important part of developers around the world, not just Facebook. Other member companies and Rust We want to work with the community to make Rust a mainstream language choice for things like system programming. ”Facebook has already used Rust on many projects. One of them is the controversial cryptocurrency project “Libra”. Libra is currently run by the Diem Association, and Facebook is a core member of the digital wallet Novi. According to Facebook, the Diem blockchain is written primarily in Rust. Facebook is also building a source control server “Mononoke” project using Rust. “Initially, it was thought that using C ++ was appropriate for developing Mononoke. At that time, Facebook’s backend code base was mostly C ++, so of course Mononoke was going to be implemented in C ++ as well.” Facebook’s engineering team says. “But the source control team had to consider the reliability of the source control backend. Reliability is a top priority because corruption and downtime can lead to service outages. That’s why I chose Rust over C ++. ”