Get the latest tech news

What Happened After Google Retrofitted Memory Safety Onto Its C++ Codebase?


Google's transistion to Safe Coding and memory-safe languages "will take multiple years," according to a post on Google's security blog. So "we're also retrofitting secure-by-design principles to our existing C++ codebase wherever possible," a process which includes "working towards bringing spatia...

This improves spatial memory safety across our services, including key performance-critical components of products like Search, Gmail, Drive, YouTube, and Maps... The process of identifying and fixing bugs uncovered by hardened libc++ led to a 30% reduction in our baseline segmentation fault rate across production, indicating improved code reliability and quality. Beyond crashes, the checks also caught errors that would have otherwise manifested as unpredictable behavior or data corruption... Hardened libc++ enabled us to identify and fix multiple bugs that had been lurking in our code for more than a decade.

Get the Android app

Or read this on Slashdot

Read more on:

Photo of Google

Google

Photo of c++ codebase

c++ codebase

Related news:

News photo

Does Google Plan to Create Email Aliases for Apps to Fight Spam?

News photo

Google Engineer Proposes "Page Detective" As New Kernel Debugging Tool

News photo

What if Google's playing chess while we're playing checkers?