{"id":4796,"date":"2024-10-16T14:55:11","date_gmt":"2024-10-16T18:55:11","guid":{"rendered":"https:\/\/hostingdiscussion.com\/news\/?p=4796"},"modified":"2024-10-16T13:38:14","modified_gmt":"2024-10-16T17:38:14","slug":"googles-balanced-path-memory-safety-without-discarding-c-and-c","status":"publish","type":"post","link":"https:\/\/hostingdiscussion.com\/news\/googles-balanced-path-memory-safety-without-discarding-c-and-c\/","title":{"rendered":"Google\u2019s balanced path: memory safety without discarding C and C++"},"content":{"rendered":"<p>Google is taking a two-pronged approach to make programming code safer: embracing memory-safe languages while simultaneously fortifying older, memory-unsafe ones like C and C++. As Google pushes for modern security, it also acknowledges the massive presence of legacy code that won\u2019t disappear anytime soon.<\/p>\n<p>While languages like Rust, Java, and Go offer strong memory safety features, Google knows C and C++ will persist for decades. Instead of rewriting everything, the tech giant focuses on making these older languages more secure through strategies like bounds-checking, sandboxing, and advanced isolation techniques.<\/p>\n<p>As memory safety vulnerabilities account for 75% of zero-day exploits and 70% of severe codebase vulnerabilities, Google&#8217;s efforts are crucial. Projects such as Chrome\u2019s MiraclePtr, which has reduced use-after-free bugs by 57%, and tools like Project Naptime, an AI-based vulnerability hunter, show their commitment to reducing risks.<\/p>\n<p>However, Google isn\u2019t alone in addressing these challenges. Industry initiatives, like the Open Source Security Foundation\u2019s hardening guide for C and C++, and new C++ extensions, aim to make unsafe languages more secure. Even C++ creator Bjarne Stroustrup has suggested Safety Profiles to ensure certain safety guarantees.<\/p>\n<p>While memory-safe languages are the future, Google\u2019s pragmatic approach recognizes the enduring importance of C and C++. By balancing innovation with hardening legacy code, Google is paving the way for a more secure coding landscape without discarding its foundation.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Google is taking a two-pronged approach to make programming code safer: embracing memory-safe languages while simultaneously fortifying older, memory-unsafe ones like C and C++. As Google pushes for modern security, it also acknowledges the massive presence of legacy code that won\u2019t disappear anytime soon. While languages like Rust, Java, and Go offer strong memory safety [&hellip;]<\/p>\n","protected":false},"author":20624,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[2554,213,2550,2551,2552,2549,2553],"class_list":["post-4796","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-bjarne-stroustrup","tag-google","tag-legacy-code","tag-memory-safety","tag-miracleptr","tag-programming-code","tag-project-naptime"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v23.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Google\u2019s balanced path: memory safety without discarding C and C++ - Web Hosting News<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/hostingdiscussion.com\/news\/googles-balanced-path-memory-safety-without-discarding-c-and-c\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Google\u2019s balanced path: memory safety without discarding C and C++ - Web Hosting News\" \/>\n<meta property=\"og:description\" content=\"Google is taking a two-pronged approach to make programming code safer: embracing memory-safe languages while simultaneously fortifying older, memory-unsafe ones like C and C++. As Google pushes for modern security, it also acknowledges the massive presence of legacy code that won\u2019t disappear anytime soon. While languages like Rust, Java, and Go offer strong memory safety [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/hostingdiscussion.com\/news\/googles-balanced-path-memory-safety-without-discarding-c-and-c\/\" \/>\n<meta property=\"og:site_name\" content=\"Web Hosting News\" \/>\n<meta property=\"article:published_time\" content=\"2024-10-16T18:55:11+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-10-16T17:38:14+00:00\" \/>\n<meta name=\"author\" content=\"Justine Juyad\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Justine Juyad\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/hostingdiscussion.com\/news\/googles-balanced-path-memory-safety-without-discarding-c-and-c\/\",\"url\":\"https:\/\/hostingdiscussion.com\/news\/googles-balanced-path-memory-safety-without-discarding-c-and-c\/\",\"name\":\"Google\u2019s balanced path: memory safety without discarding C and C++ - Web Hosting News\",\"isPartOf\":{\"@id\":\"https:\/\/hostingdiscussion.com\/news\/#website\"},\"datePublished\":\"2024-10-16T18:55:11+00:00\",\"dateModified\":\"2024-10-16T17:38:14+00:00\",\"author\":{\"@id\":\"https:\/\/hostingdiscussion.com\/news\/#\/schema\/person\/3a1732732b90f8c57c2a0ec68d3c49e3\"},\"breadcrumb\":{\"@id\":\"https:\/\/hostingdiscussion.com\/news\/googles-balanced-path-memory-safety-without-discarding-c-and-c\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/hostingdiscussion.com\/news\/googles-balanced-path-memory-safety-without-discarding-c-and-c\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/hostingdiscussion.com\/news\/googles-balanced-path-memory-safety-without-discarding-c-and-c\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/hostingdiscussion.com\/news\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Google\u2019s balanced path: memory safety without discarding C and C++\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/hostingdiscussion.com\/news\/#website\",\"url\":\"https:\/\/hostingdiscussion.com\/news\/\",\"name\":\"Web Hosting News\",\"description\":\"Cloud and web hosting industry daily news\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/hostingdiscussion.com\/news\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/hostingdiscussion.com\/news\/#\/schema\/person\/3a1732732b90f8c57c2a0ec68d3c49e3\",\"name\":\"Justine Juyad\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/hostingdiscussion.com\/news\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/96df33d01870f85226adf8492251fbefe00bc349b10bb7679b094f3fa086999c?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/96df33d01870f85226adf8492251fbefe00bc349b10bb7679b094f3fa086999c?s=96&d=mm&r=g\",\"caption\":\"Justine Juyad\"},\"description\":\"HostingDiscussion.com senior reporter\",\"sameAs\":[\"https:\/\/hostingdiscussion.com\/news\/\"],\"url\":\"https:\/\/hostingdiscussion.com\/news\/author\/justine-juyad\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Google\u2019s balanced path: memory safety without discarding C and C++ - Web Hosting News","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/hostingdiscussion.com\/news\/googles-balanced-path-memory-safety-without-discarding-c-and-c\/","og_locale":"en_US","og_type":"article","og_title":"Google\u2019s balanced path: memory safety without discarding C and C++ - Web Hosting News","og_description":"Google is taking a two-pronged approach to make programming code safer: embracing memory-safe languages while simultaneously fortifying older, memory-unsafe ones like C and C++. As Google pushes for modern security, it also acknowledges the massive presence of legacy code that won\u2019t disappear anytime soon. While languages like Rust, Java, and Go offer strong memory safety [&hellip;]","og_url":"https:\/\/hostingdiscussion.com\/news\/googles-balanced-path-memory-safety-without-discarding-c-and-c\/","og_site_name":"Web Hosting News","article_published_time":"2024-10-16T18:55:11+00:00","article_modified_time":"2024-10-16T17:38:14+00:00","author":"Justine Juyad","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Justine Juyad","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/hostingdiscussion.com\/news\/googles-balanced-path-memory-safety-without-discarding-c-and-c\/","url":"https:\/\/hostingdiscussion.com\/news\/googles-balanced-path-memory-safety-without-discarding-c-and-c\/","name":"Google\u2019s balanced path: memory safety without discarding C and C++ - Web Hosting News","isPartOf":{"@id":"https:\/\/hostingdiscussion.com\/news\/#website"},"datePublished":"2024-10-16T18:55:11+00:00","dateModified":"2024-10-16T17:38:14+00:00","author":{"@id":"https:\/\/hostingdiscussion.com\/news\/#\/schema\/person\/3a1732732b90f8c57c2a0ec68d3c49e3"},"breadcrumb":{"@id":"https:\/\/hostingdiscussion.com\/news\/googles-balanced-path-memory-safety-without-discarding-c-and-c\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/hostingdiscussion.com\/news\/googles-balanced-path-memory-safety-without-discarding-c-and-c\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/hostingdiscussion.com\/news\/googles-balanced-path-memory-safety-without-discarding-c-and-c\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/hostingdiscussion.com\/news\/"},{"@type":"ListItem","position":2,"name":"Google\u2019s balanced path: memory safety without discarding C and C++"}]},{"@type":"WebSite","@id":"https:\/\/hostingdiscussion.com\/news\/#website","url":"https:\/\/hostingdiscussion.com\/news\/","name":"Web Hosting News","description":"Cloud and web hosting industry daily news","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/hostingdiscussion.com\/news\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/hostingdiscussion.com\/news\/#\/schema\/person\/3a1732732b90f8c57c2a0ec68d3c49e3","name":"Justine Juyad","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/hostingdiscussion.com\/news\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/96df33d01870f85226adf8492251fbefe00bc349b10bb7679b094f3fa086999c?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/96df33d01870f85226adf8492251fbefe00bc349b10bb7679b094f3fa086999c?s=96&d=mm&r=g","caption":"Justine Juyad"},"description":"HostingDiscussion.com senior reporter","sameAs":["https:\/\/hostingdiscussion.com\/news\/"],"url":"https:\/\/hostingdiscussion.com\/news\/author\/justine-juyad\/"}]}},"views":234,"_links":{"self":[{"href":"https:\/\/hostingdiscussion.com\/news\/wp-json\/wp\/v2\/posts\/4796","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hostingdiscussion.com\/news\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hostingdiscussion.com\/news\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hostingdiscussion.com\/news\/wp-json\/wp\/v2\/users\/20624"}],"replies":[{"embeddable":true,"href":"https:\/\/hostingdiscussion.com\/news\/wp-json\/wp\/v2\/comments?post=4796"}],"version-history":[{"count":1,"href":"https:\/\/hostingdiscussion.com\/news\/wp-json\/wp\/v2\/posts\/4796\/revisions"}],"predecessor-version":[{"id":4797,"href":"https:\/\/hostingdiscussion.com\/news\/wp-json\/wp\/v2\/posts\/4796\/revisions\/4797"}],"wp:attachment":[{"href":"https:\/\/hostingdiscussion.com\/news\/wp-json\/wp\/v2\/media?parent=4796"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hostingdiscussion.com\/news\/wp-json\/wp\/v2\/categories?post=4796"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hostingdiscussion.com\/news\/wp-json\/wp\/v2\/tags?post=4796"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}