Google Announces Support for Chromium Development Using Rust

Produced | OSC Open Source Community (ID: oschina2013)

The Google Chrome security team announced that Chromium will support the use of third-party Rust libraries from C++ in projects. They are currently actively looking to add a production-ready Rust toolchain to the Chromium build system in order to bring Rust code into Chrome binaries next year.

According to Chromium’s project size and its own needs, Google temporarily only supports the use of third-party Rust libraries, because third-party libraries are written as independent components, and they do not need to consider the potential needs of Chromium implementation. This means they have APIs that are simpler and focused on their single task.

According to Google, their goal of introducing Rust to Chromium is to provide a simpler (no IPC) and safer (lower overall complexity than C++, no memory safety bugs in the sandbox) way to satisfy two rules, To speed up development (less code to write, less design docs, less security reviews) and improve Chrome security (increase lines of code free of memory safety bugs, reduce bug density of code). They figured they could use a third-party Rust library to achieve this.

They also said that Rust, a programming language developed by Mozilla that provides security while also being high-performance, was originally designed to write browsers, so it is very appropriate for Chromium to rely on this technology.

Related Links:

The text and pictures in this article are from the OSC open source community

loading.gif

This article is transferred from https://www.techug.com/post/google-announced-its-support-for-using-rust-to-develop-chromiumcc379022b1aa7fa2d29d/
This site is only for collection, and the copyright belongs to the original author.