Google has declared that its Chromium open-source browser project will accept third-party Rust libraries. Dana Jansens, a member of the Chrome security team, wrote a blog post on Thursday to make the announcement.
Jansens said in a statement that Google is currently working actively to integrate a production Rust toolchain into its build system. Memory safety issues account for about 70% of Chromium’s critical security flaws. Rust can be used to avoid memory safety problems when written properly.
Also read: Top Five Ways for Developers to Prevent Burnout Before It’s Too Late
According to Jansens, “Rust guarantees temporal memory safety with static analysis that depends on two inputs: lifetimes (inferred or explicitly written), and exclusive mutability.