{"id":1533,"date":"2021-04-08T15:55:44","date_gmt":"2021-04-08T10:25:44","guid":{"rendered":"https:\/\/xiarch.com\/blog\/?p=1533"},"modified":"2021-06-07T11:16:40","modified_gmt":"2021-06-07T05:46:40","slug":"android-support-rust-programming-language-while-preventing-memory-flaws","status":"publish","type":"post","link":"https:\/\/xiarch.com\/blog\/android-support-rust-programming-language-while-preventing-memory-flaws\/","title":{"rendered":"Android Support Rust Programming Language while Preventing Memory Flaws!"},"content":{"rendered":"\n<p><p style=\"text-align: justify\">On Tuesday Google discovered an open-source version of the Android Operating system that will add support towards the Rust Programming Language while preventing memory safety bugs.<\/p><\/p>\n\n\n\n<p><p style=\"text-align: justify\">The organization also created the parts of the Android Open Source Project (AOSP) with Rust for 18 months and having the plans that the pipeline is to scale this while covering the more part of the operating system.<\/p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>What Google is Responding to?<\/strong><\/h2>\n\n\n\n<p><p style=\"text-align: justify\">Google also said that the languages like Java and Kotlin are the best options for the development of Android applications. The Android deals with Java language while protecting and covering the very large portion of the Android platform with the help of memory bugs. But it may not work for the lower layer while developing.<\/p><\/p>\n\n\n\n<p><p style=\"text-align: justify\">However, the codes which are written in C and C++ languages are needed robust isolation that parsing the untrustworthy input. The technique of dealing with this code needs a constrained and unprivileged sandbox that can be expensive and also cause multiple issues like latency and additional memory usage.<\/p><\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img decoding=\"async\" loading=\"lazy\" width=\"728\" height=\"453\" src=\"https:\/\/xiarch.com\/blog\/wp-content\/uploads\/2021\/04\/android-support-rust-language-image.jpg\" alt=\"Android Support Rust Programming Language while Preventing Memory Flaws!\" class=\"wp-image-1535\" srcset=\"https:\/\/xiarch.com\/blog\/wp-content\/uploads\/2021\/04\/android-support-rust-language-image.jpg 728w, https:\/\/xiarch.com\/blog\/wp-content\/uploads\/2021\/04\/android-support-rust-language-image-300x187.jpg 300w\" sizes=\"(max-width: 728px) 100vw, 728px\" \/><\/figure><\/div>\n\n\n\n<p><p style=\"text-align: justify\">Whereas, if we talk about the memory safety bugs in C and C++ is containing 70% more vulnerability and the approach while switching from the memory-safe language that is capable to prevent all these things from happening in the first place.<\/p><\/p>\n\n\n\n<p><p style=\"text-align: justify\">Google also said that Rust provides the memory safety promise with the help of a combination of compile-time that checks while enforcing the object for lifetime\/ownership and also check while ensuring valid memory access.<\/p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Summering Up<\/strong><\/h2>\n\n\n\n<p><p style=\"text-align: justify\">Since, Google doesn\u2019t rewrite all the existing code that was underlying the operating system and written in C and C++, instead of focusing on the memory-safe language that is used to modify the code that has the higher likelihood value of memory bugs.<\/p><\/p>\n\n\n\n<p><p style=\"text-align: justify\">Meanwhile, Google is continuously checking the efforts with the Rust that include a proper and complete rewrite of Android Bluetooth Stack, which was started with the updates of Android 11 and it also works as a Rust-based network stack that is an open-source Fuchsia operating system.<\/p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>On Tuesday Google discovered an open-source version of the Android Operating system that will add support towards the Rust Programming Language while preventing memory safety bugs. The organization also created the parts of the Android Open Source Project (AOSP) with Rust for 18 months and having the plans that the pipeline is to scale this [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":1543,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[15],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.11 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Android Support Rust Programming Language while Preventing Memory Flaws! - Xiarch Solutions Private Limited<\/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:\/\/xiarch.com\/blog\/android-support-rust-programming-language-while-preventing-memory-flaws\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Android Support Rust Programming Language while Preventing Memory Flaws! - Xiarch Solutions Private Limited\" \/>\n<meta property=\"og:description\" content=\"On Tuesday Google discovered an open-source version of the Android Operating system that will add support towards the Rust Programming Language while preventing memory safety bugs. The organization also created the parts of the Android Open Source Project (AOSP) with Rust for 18 months and having the plans that the pipeline is to scale this [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/xiarch.com\/blog\/android-support-rust-programming-language-while-preventing-memory-flaws\/\" \/>\n<meta property=\"og:site_name\" content=\"Xiarch Solutions Private Limited\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/xiarch\/\" \/>\n<meta property=\"article:published_time\" content=\"2021-04-08T10:25:44+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-06-07T05:46:40+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/xiarch.com\/blog\/wp-content\/uploads\/2021\/04\/android-support-rust-language-featured-image-1.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1000\" \/>\n\t<meta property=\"og:image:height\" content=\"520\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Xiarch Security\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@xiarch\" \/>\n<meta name=\"twitter:site\" content=\"@xiarch\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Xiarch Security\" \/>\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\":\"https:\/\/xiarch.com\/blog\/android-support-rust-programming-language-while-preventing-memory-flaws\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/xiarch.com\/blog\/android-support-rust-programming-language-while-preventing-memory-flaws\/\"},\"author\":{\"name\":\"Xiarch Security\",\"@id\":\"https:\/\/xiarch.com\/blog\/#\/schema\/person\/655d814a04eacce56942270cfdc5c59c\"},\"headline\":\"Android Support Rust Programming Language while Preventing Memory Flaws!\",\"datePublished\":\"2021-04-08T10:25:44+00:00\",\"dateModified\":\"2021-06-07T05:46:40+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/xiarch.com\/blog\/android-support-rust-programming-language-while-preventing-memory-flaws\/\"},\"wordCount\":346,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/xiarch.com\/blog\/#organization\"},\"articleSection\":[\"Infosec News\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/xiarch.com\/blog\/android-support-rust-programming-language-while-preventing-memory-flaws\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/xiarch.com\/blog\/android-support-rust-programming-language-while-preventing-memory-flaws\/\",\"url\":\"https:\/\/xiarch.com\/blog\/android-support-rust-programming-language-while-preventing-memory-flaws\/\",\"name\":\"Android Support Rust Programming Language while Preventing Memory Flaws! - Xiarch Solutions Private Limited\",\"isPartOf\":{\"@id\":\"https:\/\/xiarch.com\/blog\/#website\"},\"datePublished\":\"2021-04-08T10:25:44+00:00\",\"dateModified\":\"2021-06-07T05:46:40+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/xiarch.com\/blog\/android-support-rust-programming-language-while-preventing-memory-flaws\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/xiarch.com\/blog\/android-support-rust-programming-language-while-preventing-memory-flaws\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/xiarch.com\/blog\/android-support-rust-programming-language-while-preventing-memory-flaws\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/xiarch.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Android Support Rust Programming Language while Preventing Memory Flaws!\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/xiarch.com\/blog\/#website\",\"url\":\"https:\/\/xiarch.com\/blog\/\",\"name\":\"Xiarch Solutions Private Limited\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/xiarch.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/xiarch.com\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/xiarch.com\/blog\/#organization\",\"name\":\"Xiarch\",\"url\":\"https:\/\/xiarch.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/xiarch.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/xiarch.com\/blog\/wp-content\/uploads\/2021\/06\/xi-logo-002.png\",\"contentUrl\":\"https:\/\/xiarch.com\/blog\/wp-content\/uploads\/2021\/06\/xi-logo-002.png\",\"width\":300,\"height\":300,\"caption\":\"Xiarch\"},\"image\":{\"@id\":\"https:\/\/xiarch.com\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/xiarch\/\",\"https:\/\/twitter.com\/xiarch\",\"https:\/\/www.linkedin.com\/company\/xiarch\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/xiarch.com\/blog\/#\/schema\/person\/655d814a04eacce56942270cfdc5c59c\",\"name\":\"Xiarch Security\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/xiarch.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/d33699ed91b76568586dc1ae278ea568?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/d33699ed91b76568586dc1ae278ea568?s=96&d=mm&r=g\",\"caption\":\"Xiarch Security\"},\"sameAs\":[\"https:\/\/xiarch.com\/blog\/\"],\"url\":\"https:\/\/xiarch.com\/blog\/author\/vector\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Android Support Rust Programming Language while Preventing Memory Flaws! - Xiarch Solutions Private Limited","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:\/\/xiarch.com\/blog\/android-support-rust-programming-language-while-preventing-memory-flaws\/","og_locale":"en_US","og_type":"article","og_title":"Android Support Rust Programming Language while Preventing Memory Flaws! - Xiarch Solutions Private Limited","og_description":"On Tuesday Google discovered an open-source version of the Android Operating system that will add support towards the Rust Programming Language while preventing memory safety bugs. The organization also created the parts of the Android Open Source Project (AOSP) with Rust for 18 months and having the plans that the pipeline is to scale this [&hellip;]","og_url":"https:\/\/xiarch.com\/blog\/android-support-rust-programming-language-while-preventing-memory-flaws\/","og_site_name":"Xiarch Solutions Private Limited","article_publisher":"https:\/\/www.facebook.com\/xiarch\/","article_published_time":"2021-04-08T10:25:44+00:00","article_modified_time":"2021-06-07T05:46:40+00:00","og_image":[{"width":1000,"height":520,"url":"https:\/\/xiarch.com\/blog\/wp-content\/uploads\/2021\/04\/android-support-rust-language-featured-image-1.jpg","type":"image\/jpeg"}],"author":"Xiarch Security","twitter_card":"summary_large_image","twitter_creator":"@xiarch","twitter_site":"@xiarch","twitter_misc":{"Written by":"Xiarch Security","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/xiarch.com\/blog\/android-support-rust-programming-language-while-preventing-memory-flaws\/#article","isPartOf":{"@id":"https:\/\/xiarch.com\/blog\/android-support-rust-programming-language-while-preventing-memory-flaws\/"},"author":{"name":"Xiarch Security","@id":"https:\/\/xiarch.com\/blog\/#\/schema\/person\/655d814a04eacce56942270cfdc5c59c"},"headline":"Android Support Rust Programming Language while Preventing Memory Flaws!","datePublished":"2021-04-08T10:25:44+00:00","dateModified":"2021-06-07T05:46:40+00:00","mainEntityOfPage":{"@id":"https:\/\/xiarch.com\/blog\/android-support-rust-programming-language-while-preventing-memory-flaws\/"},"wordCount":346,"commentCount":0,"publisher":{"@id":"https:\/\/xiarch.com\/blog\/#organization"},"articleSection":["Infosec News"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/xiarch.com\/blog\/android-support-rust-programming-language-while-preventing-memory-flaws\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/xiarch.com\/blog\/android-support-rust-programming-language-while-preventing-memory-flaws\/","url":"https:\/\/xiarch.com\/blog\/android-support-rust-programming-language-while-preventing-memory-flaws\/","name":"Android Support Rust Programming Language while Preventing Memory Flaws! - Xiarch Solutions Private Limited","isPartOf":{"@id":"https:\/\/xiarch.com\/blog\/#website"},"datePublished":"2021-04-08T10:25:44+00:00","dateModified":"2021-06-07T05:46:40+00:00","breadcrumb":{"@id":"https:\/\/xiarch.com\/blog\/android-support-rust-programming-language-while-preventing-memory-flaws\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/xiarch.com\/blog\/android-support-rust-programming-language-while-preventing-memory-flaws\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/xiarch.com\/blog\/android-support-rust-programming-language-while-preventing-memory-flaws\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/xiarch.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Android Support Rust Programming Language while Preventing Memory Flaws!"}]},{"@type":"WebSite","@id":"https:\/\/xiarch.com\/blog\/#website","url":"https:\/\/xiarch.com\/blog\/","name":"Xiarch Solutions Private Limited","description":"","publisher":{"@id":"https:\/\/xiarch.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/xiarch.com\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/xiarch.com\/blog\/#organization","name":"Xiarch","url":"https:\/\/xiarch.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/xiarch.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/xiarch.com\/blog\/wp-content\/uploads\/2021\/06\/xi-logo-002.png","contentUrl":"https:\/\/xiarch.com\/blog\/wp-content\/uploads\/2021\/06\/xi-logo-002.png","width":300,"height":300,"caption":"Xiarch"},"image":{"@id":"https:\/\/xiarch.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/xiarch\/","https:\/\/twitter.com\/xiarch","https:\/\/www.linkedin.com\/company\/xiarch"]},{"@type":"Person","@id":"https:\/\/xiarch.com\/blog\/#\/schema\/person\/655d814a04eacce56942270cfdc5c59c","name":"Xiarch Security","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/xiarch.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/d33699ed91b76568586dc1ae278ea568?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/d33699ed91b76568586dc1ae278ea568?s=96&d=mm&r=g","caption":"Xiarch Security"},"sameAs":["https:\/\/xiarch.com\/blog\/"],"url":"https:\/\/xiarch.com\/blog\/author\/vector\/"}]}},"_links":{"self":[{"href":"https:\/\/xiarch.com\/blog\/wp-json\/wp\/v2\/posts\/1533"}],"collection":[{"href":"https:\/\/xiarch.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/xiarch.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/xiarch.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/xiarch.com\/blog\/wp-json\/wp\/v2\/comments?post=1533"}],"version-history":[{"count":2,"href":"https:\/\/xiarch.com\/blog\/wp-json\/wp\/v2\/posts\/1533\/revisions"}],"predecessor-version":[{"id":1537,"href":"https:\/\/xiarch.com\/blog\/wp-json\/wp\/v2\/posts\/1533\/revisions\/1537"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/xiarch.com\/blog\/wp-json\/wp\/v2\/media\/1543"}],"wp:attachment":[{"href":"https:\/\/xiarch.com\/blog\/wp-json\/wp\/v2\/media?parent=1533"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/xiarch.com\/blog\/wp-json\/wp\/v2\/categories?post=1533"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/xiarch.com\/blog\/wp-json\/wp\/v2\/tags?post=1533"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}