Chrome developers are experimenting with the Rust language

Chrome Developers are experimenting using the Rust language. The work is carried out within the framework initiatives to prevent memory bugs from appearing in the Chrome codebase. Work is currently limited to prototyping tools to use Rust. The first task that needs to be solved before you can fully use Rust in the Chrome codebase is to ensure portability between C++ code and Rust.

For the foreseeable future, C++ will remain the primary language in Chrome, so the focus of ongoing experiments is on the ability to call existing C++ functions from Rust code and a safe way to pass types between Rust and C++. The library is considered as the main solution for organizing data exchange between Rust and C++. xxx, which automatically creates secure bindings between C++ and Rust functions. Manually creating such bindings is too time consuming since the Chrome API has more than 1700 calls and there is a high probability of making a mistake.

Source: opennet.ru

Add a comment