{"id":9710,"date":"2021-04-11T12:53:22","date_gmt":"2021-04-11T16:53:22","guid":{"rendered":"http:\/\/local.brightwhiz\/?p=9710"},"modified":"2021-04-11T12:53:22","modified_gmt":"2021-04-11T16:53:22","slug":"google-now-supports-rust-code-for-developing-android-os","status":"publish","type":"post","link":"http:\/\/local.brightwhiz\/google-now-supports-rust-code-for-developing-android-os\/","title":{"rendered":"Google now Supports Rust Code For Developing Android OS"},"content":{"rendered":"\n

In efforts to improve the detection of memory safety bugs, Google announces support for Rust code in the development of the Android<\/a> OS.<\/p>\n\n\n\n

The problem is that C, C++, and Assembly languages don\u2019t provide safety guarantees. This directly affects the correctness of code in the Android platform, which in turn is a top priority for the security, stability, and quality of each Android release.<\/p>\n\n\n\n

Memory safety bugs in C and C++ can be costly in that there is a great deal of effort and resources put into detecting, fixing, and mitigating this class of bugs. Memory safety bugs continue to be a top contributor of stability issues, and consistently represent about 70% of Android’s high severity security vulnerabilities.<\/p>\n\n\n\n

Android already supports memory-safe languages like Java and Kotlin. These languages are used for app development. For low-level tasks, engineers would need low-level programming languages like C, C++, and Rust<\/a>.<\/p>\n\n\n\n

Rust code provides memory safety guarantees by using a combination of compile-time checks to enforce object lifetime\/ownership and runtime checks to ensure that memory accesses are valid. This safety is achieved while providing equivalent performance to C and C++.<\/p>\n\n\n\n

It is important to note that introducing Rust programming language does not address bugs in existing C\/C++ code. Replacing all the C and C++ code would be a monumental task. It would be more feasible to implement newer code in Rust over several years.<\/p>\n\n\n\n

In addition, there are toolchains and dependencies that need to be maintained, test infrastructure and tooling that must be updated, and developers that need to be trained.<\/p>\n\n\n\n

“For the past 18 months we have been adding Rust support to the Android Open Source Project, and we have a few early adopter projects that we will be sharing in the coming months.” Android Team.<\/p>\n\n\n\n

Read the full announcement here<\/a> about the Rust code support from the official Google Security Blog.<\/p>\n","protected":false},"excerpt":{"rendered":"

In efforts to improve the detection of memory safety bugs, Google announces support for Rust code in the development of the Android OS. The problem is that C, C++, and…<\/p>\n","protected":false},"author":1,"featured_media":9711,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[25,13,27,16,18],"tags":[53,111,313,515,526,572],"yoast_head":"\nGoogle now Supports Rust Code For Developing Android OS<\/title>\n<meta name=\"description\" content=\"In efforts to improve the detection of memory safety bugs, Google announces support for Rust code in the development of the Android OS\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"http:\/\/local.brightwhiz\/google-now-supports-rust-code-for-developing-android-os\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Google now Supports Rust Code For Developing Android OS\" \/>\n<meta property=\"og:description\" content=\"In efforts to improve the detection of memory safety bugs, Google announces support for Rust code in the development of the Android OS\" \/>\n<meta property=\"og:url\" content=\"http:\/\/local.brightwhiz\/google-now-supports-rust-code-for-developing-android-os\/\" \/>\n<meta property=\"og:site_name\" content=\"Brightwhiz.com\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/brightwhiz\/\" \/>\n<meta property=\"article:published_time\" content=\"2021-04-11T16:53:22+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/local.brightwhiz\/wp-content\/uploads\/2021\/04\/Rust-Code-prograrmming.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"630\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Michael Bright\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@brightwhizmag\" \/>\n<meta name=\"twitter:site\" content=\"@brightwhizmag\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Michael Bright\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"http:\/\/local.brightwhiz\/google-now-supports-rust-code-for-developing-android-os\/#article\",\"isPartOf\":{\"@id\":\"http:\/\/local.brightwhiz\/google-now-supports-rust-code-for-developing-android-os\/\"},\"author\":{\"name\":\"Michael Bright\",\"@id\":\"http:\/\/local.brightwhiz\/#\/schema\/person\/81f0f3126f13834ae2e7f381b3028e32\"},\"headline\":\"Google now Supports Rust Code For Developing Android OS\",\"datePublished\":\"2021-04-11T16:53:22+00:00\",\"dateModified\":\"2021-04-11T16:53:22+00:00\",\"mainEntityOfPage\":{\"@id\":\"http:\/\/local.brightwhiz\/google-now-supports-rust-code-for-developing-android-os\/\"},\"wordCount\":321,\"publisher\":{\"@id\":\"http:\/\/local.brightwhiz\/#organization\"},\"image\":{\"@id\":\"http:\/\/local.brightwhiz\/google-now-supports-rust-code-for-developing-android-os\/#primaryimage\"},\"thumbnailUrl\":\"http:\/\/local.brightwhiz\/wp-content\/uploads\/2021\/04\/Rust-Code-prograrmming.jpg\",\"keywords\":[\"Android\",\"C++\",\"InfoSec\",\"Rust\",\"Security\",\"Systems\"],\"articleSection\":[\"Libraries\",\"News\",\"Programming\",\"Technology\",\"Tools\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"http:\/\/local.brightwhiz\/google-now-supports-rust-code-for-developing-android-os\/\",\"url\":\"http:\/\/local.brightwhiz\/google-now-supports-rust-code-for-developing-android-os\/\",\"name\":\"Google now Supports Rust Code For Developing Android OS\",\"isPartOf\":{\"@id\":\"http:\/\/local.brightwhiz\/#website\"},\"primaryImageOfPage\":{\"@id\":\"http:\/\/local.brightwhiz\/google-now-supports-rust-code-for-developing-android-os\/#primaryimage\"},\"image\":{\"@id\":\"http:\/\/local.brightwhiz\/google-now-supports-rust-code-for-developing-android-os\/#primaryimage\"},\"thumbnailUrl\":\"http:\/\/local.brightwhiz\/wp-content\/uploads\/2021\/04\/Rust-Code-prograrmming.jpg\",\"datePublished\":\"2021-04-11T16:53:22+00:00\",\"dateModified\":\"2021-04-11T16:53:22+00:00\",\"description\":\"In efforts to improve the detection of memory safety bugs, Google announces support for Rust code in the development of the Android OS\",\"breadcrumb\":{\"@id\":\"http:\/\/local.brightwhiz\/google-now-supports-rust-code-for-developing-android-os\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"http:\/\/local.brightwhiz\/google-now-supports-rust-code-for-developing-android-os\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"http:\/\/local.brightwhiz\/google-now-supports-rust-code-for-developing-android-os\/#primaryimage\",\"url\":\"http:\/\/local.brightwhiz\/wp-content\/uploads\/2021\/04\/Rust-Code-prograrmming.jpg\",\"contentUrl\":\"http:\/\/local.brightwhiz\/wp-content\/uploads\/2021\/04\/Rust-Code-prograrmming.jpg\",\"width\":1200,\"height\":630,\"caption\":\"Rust Code\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"http:\/\/local.brightwhiz\/google-now-supports-rust-code-for-developing-android-os\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"http:\/\/local.brightwhiz\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Google now Supports Rust Code For Developing Android OS\"}]},{\"@type\":\"WebSite\",\"@id\":\"http:\/\/local.brightwhiz\/#website\",\"url\":\"http:\/\/local.brightwhiz\/\",\"name\":\"Brightwhiz.com\",\"description\":\"Best Tech guides, Tutorials, and News\",\"publisher\":{\"@id\":\"http:\/\/local.brightwhiz\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"http:\/\/local.brightwhiz\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"http:\/\/local.brightwhiz\/#organization\",\"name\":\"Brightwhiz\",\"url\":\"http:\/\/local.brightwhiz\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"http:\/\/local.brightwhiz\/#\/schema\/logo\/image\/\",\"url\":\"http:\/\/local.brightwhiz\/wp-content\/uploads\/2021\/11\/brightwhiz-com-logo-orange.png\",\"contentUrl\":\"http:\/\/local.brightwhiz\/wp-content\/uploads\/2021\/11\/brightwhiz-com-logo-orange.png\",\"width\":706,\"height\":135,\"caption\":\"Brightwhiz\"},\"image\":{\"@id\":\"http:\/\/local.brightwhiz\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/brightwhiz\/\",\"https:\/\/twitter.com\/brightwhizmag\",\"https:\/\/instagram.com\/bright_whiz\/\",\"https:\/\/www.pinterest.com\/sobbayi\/\",\"https:\/\/www.youtube.com\/channel\/UC6sCdP_d_RiTIM7ErFT-PSQ\"]},{\"@type\":\"Person\",\"@id\":\"http:\/\/local.brightwhiz\/#\/schema\/person\/81f0f3126f13834ae2e7f381b3028e32\",\"name\":\"Michael Bright\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"http:\/\/local.brightwhiz\/#\/schema\/person\/image\/\",\"url\":\"http:\/\/1.gravatar.com\/avatar\/da90485875ff0aafa38fdd494abe87d1?s=96&d=mm&r=g\",\"contentUrl\":\"http:\/\/1.gravatar.com\/avatar\/da90485875ff0aafa38fdd494abe87d1?s=96&d=mm&r=g\",\"caption\":\"Michael Bright\"},\"sameAs\":[\"https:\/\/sobbayi.com\"],\"url\":\"http:\/\/local.brightwhiz\/author\/sobbayiadmin\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Google now Supports Rust Code For Developing Android OS","description":"In efforts to improve the detection of memory safety bugs, Google announces support for Rust code in the development of the Android OS","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":"http:\/\/local.brightwhiz\/google-now-supports-rust-code-for-developing-android-os\/","og_locale":"en_US","og_type":"article","og_title":"Google now Supports Rust Code For Developing Android OS","og_description":"In efforts to improve the detection of memory safety bugs, Google announces support for Rust code in the development of the Android OS","og_url":"http:\/\/local.brightwhiz\/google-now-supports-rust-code-for-developing-android-os\/","og_site_name":"Brightwhiz.com","article_publisher":"https:\/\/www.facebook.com\/brightwhiz\/","article_published_time":"2021-04-11T16:53:22+00:00","og_image":[{"width":1200,"height":630,"url":"http:\/\/local.brightwhiz\/wp-content\/uploads\/2021\/04\/Rust-Code-prograrmming.jpg","type":"image\/jpeg"}],"author":"Michael Bright","twitter_card":"summary_large_image","twitter_creator":"@brightwhizmag","twitter_site":"@brightwhizmag","twitter_misc":{"Written by":"Michael Bright","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"http:\/\/local.brightwhiz\/google-now-supports-rust-code-for-developing-android-os\/#article","isPartOf":{"@id":"http:\/\/local.brightwhiz\/google-now-supports-rust-code-for-developing-android-os\/"},"author":{"name":"Michael Bright","@id":"http:\/\/local.brightwhiz\/#\/schema\/person\/81f0f3126f13834ae2e7f381b3028e32"},"headline":"Google now Supports Rust Code For Developing Android OS","datePublished":"2021-04-11T16:53:22+00:00","dateModified":"2021-04-11T16:53:22+00:00","mainEntityOfPage":{"@id":"http:\/\/local.brightwhiz\/google-now-supports-rust-code-for-developing-android-os\/"},"wordCount":321,"publisher":{"@id":"http:\/\/local.brightwhiz\/#organization"},"image":{"@id":"http:\/\/local.brightwhiz\/google-now-supports-rust-code-for-developing-android-os\/#primaryimage"},"thumbnailUrl":"http:\/\/local.brightwhiz\/wp-content\/uploads\/2021\/04\/Rust-Code-prograrmming.jpg","keywords":["Android","C++","InfoSec","Rust","Security","Systems"],"articleSection":["Libraries","News","Programming","Technology","Tools"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"http:\/\/local.brightwhiz\/google-now-supports-rust-code-for-developing-android-os\/","url":"http:\/\/local.brightwhiz\/google-now-supports-rust-code-for-developing-android-os\/","name":"Google now Supports Rust Code For Developing Android OS","isPartOf":{"@id":"http:\/\/local.brightwhiz\/#website"},"primaryImageOfPage":{"@id":"http:\/\/local.brightwhiz\/google-now-supports-rust-code-for-developing-android-os\/#primaryimage"},"image":{"@id":"http:\/\/local.brightwhiz\/google-now-supports-rust-code-for-developing-android-os\/#primaryimage"},"thumbnailUrl":"http:\/\/local.brightwhiz\/wp-content\/uploads\/2021\/04\/Rust-Code-prograrmming.jpg","datePublished":"2021-04-11T16:53:22+00:00","dateModified":"2021-04-11T16:53:22+00:00","description":"In efforts to improve the detection of memory safety bugs, Google announces support for Rust code in the development of the Android OS","breadcrumb":{"@id":"http:\/\/local.brightwhiz\/google-now-supports-rust-code-for-developing-android-os\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["http:\/\/local.brightwhiz\/google-now-supports-rust-code-for-developing-android-os\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"http:\/\/local.brightwhiz\/google-now-supports-rust-code-for-developing-android-os\/#primaryimage","url":"http:\/\/local.brightwhiz\/wp-content\/uploads\/2021\/04\/Rust-Code-prograrmming.jpg","contentUrl":"http:\/\/local.brightwhiz\/wp-content\/uploads\/2021\/04\/Rust-Code-prograrmming.jpg","width":1200,"height":630,"caption":"Rust Code"},{"@type":"BreadcrumbList","@id":"http:\/\/local.brightwhiz\/google-now-supports-rust-code-for-developing-android-os\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"http:\/\/local.brightwhiz\/"},{"@type":"ListItem","position":2,"name":"Google now Supports Rust Code For Developing Android OS"}]},{"@type":"WebSite","@id":"http:\/\/local.brightwhiz\/#website","url":"http:\/\/local.brightwhiz\/","name":"Brightwhiz.com","description":"Best Tech guides, Tutorials, and News","publisher":{"@id":"http:\/\/local.brightwhiz\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"http:\/\/local.brightwhiz\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"http:\/\/local.brightwhiz\/#organization","name":"Brightwhiz","url":"http:\/\/local.brightwhiz\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"http:\/\/local.brightwhiz\/#\/schema\/logo\/image\/","url":"http:\/\/local.brightwhiz\/wp-content\/uploads\/2021\/11\/brightwhiz-com-logo-orange.png","contentUrl":"http:\/\/local.brightwhiz\/wp-content\/uploads\/2021\/11\/brightwhiz-com-logo-orange.png","width":706,"height":135,"caption":"Brightwhiz"},"image":{"@id":"http:\/\/local.brightwhiz\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/brightwhiz\/","https:\/\/twitter.com\/brightwhizmag","https:\/\/instagram.com\/bright_whiz\/","https:\/\/www.pinterest.com\/sobbayi\/","https:\/\/www.youtube.com\/channel\/UC6sCdP_d_RiTIM7ErFT-PSQ"]},{"@type":"Person","@id":"http:\/\/local.brightwhiz\/#\/schema\/person\/81f0f3126f13834ae2e7f381b3028e32","name":"Michael Bright","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"http:\/\/local.brightwhiz\/#\/schema\/person\/image\/","url":"http:\/\/1.gravatar.com\/avatar\/da90485875ff0aafa38fdd494abe87d1?s=96&d=mm&r=g","contentUrl":"http:\/\/1.gravatar.com\/avatar\/da90485875ff0aafa38fdd494abe87d1?s=96&d=mm&r=g","caption":"Michael Bright"},"sameAs":["https:\/\/sobbayi.com"],"url":"http:\/\/local.brightwhiz\/author\/sobbayiadmin\/"}]}},"_links":{"self":[{"href":"http:\/\/local.brightwhiz\/wp-json\/wp\/v2\/posts\/9710"}],"collection":[{"href":"http:\/\/local.brightwhiz\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/local.brightwhiz\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/local.brightwhiz\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/local.brightwhiz\/wp-json\/wp\/v2\/comments?post=9710"}],"version-history":[{"count":0,"href":"http:\/\/local.brightwhiz\/wp-json\/wp\/v2\/posts\/9710\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/local.brightwhiz\/wp-json\/wp\/v2\/media\/9711"}],"wp:attachment":[{"href":"http:\/\/local.brightwhiz\/wp-json\/wp\/v2\/media?parent=9710"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/local.brightwhiz\/wp-json\/wp\/v2\/categories?post=9710"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/local.brightwhiz\/wp-json\/wp\/v2\/tags?post=9710"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}