{"id":49276,"date":"2022-11-11T11:42:05","date_gmt":"2022-11-11T11:42:05","guid":{"rendered":"http:\/\/99d918b3-ee11-42f3-b814-b9cf8e31174e"},"modified":"2022-11-11T11:42:05","modified_gmt":"2022-11-11T11:42:05","slug":"nsa-to-developers-think-about-switching-from-c-and-c-to-a-memory-safe-programming-language","status":"publish","type":"post","link":"https:\/\/www.threatshub.org\/blog\/nsa-to-developers-think-about-switching-from-c-and-c-to-a-memory-safe-programming-language\/","title":{"rendered":"NSA to developers: Think about switching from C and C++ to a memory safe programming language"},"content":{"rendered":"<figure class=\"c-shortcodeImage u-clearfix c-shortcodeImage-large\">\n<div class=\"c-shortcodeImage_imageContainer\">\n<div class=\"c-shortcodeImage_image\"><picture class=\"c-cmsImage c-cmsImage_loaded\"><source media=\"(max-width: 767px)\" srcset=\"https:\/\/www.zdnet.com\/a\/img\/resize\/751c748a2de8267e6deb3bf055afab2223568eae\/2021\/03\/17\/9e759ec4-ff6e-4643-ae21-00ca8cf6cc96\/istock-1135710814.jpg?auto=webp&amp;width=768\" alt=\"A software developer with a beard and his hair in a bun sits at a desk in a well-lit office, looking at his dual computer screens.\"><source media=\"(max-width: 1023px)\" srcset=\"https:\/\/www.zdnet.com\/a\/img\/resize\/dd44f8adf3a5b38ce0cb46cbaad61cb26ca3b027\/2021\/03\/17\/9e759ec4-ff6e-4643-ae21-00ca8cf6cc96\/istock-1135710814.jpg?auto=webp&amp;width=1024\" alt=\"A software developer with a beard and his hair in a bun sits at a desk in a well-lit office, looking at his dual computer screens.\"><source media=\"(max-width: 1440px)\" srcset=\"https:\/\/www.zdnet.com\/a\/img\/resize\/f99d8c58406362742e76e2d7b021b0525ba36437\/2021\/03\/17\/9e759ec4-ff6e-4643-ae21-00ca8cf6cc96\/istock-1135710814.jpg?auto=webp&amp;width=1200\" alt=\"A software developer with a beard and his hair in a bun sits at a desk in a well-lit office, looking at his dual computer screens.\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.zdnet.com\/a\/img\/resize\/f99d8c58406362742e76e2d7b021b0525ba36437\/2021\/03\/17\/9e759ec4-ff6e-4643-ae21-00ca8cf6cc96\/istock-1135710814.jpg?auto=webp&amp;width=1200\" alt=\"A software developer with a beard and his hair in a bun sits at a desk in a well-lit office, looking at his dual computer screens.\" width=\"1200\" height=\"800\" fetchpriority=\"low\"><\/picture><\/div>\n<p> <!----><\/div>\n<p> <!----><figcaption> <span class=\"c-shortcodeImage_credit g-outer-spacing-top-xsmall u-block\">Image: Getty Images\/iStockphoto<\/span><\/figcaption><\/figure>\n<p>The National Security Agency (NSA) is urging developers to shift to memory safe languages \u2013 such as C#, Go, Java, Ruby, Rust, and Swift \u2013 to protect their code from remote code execution or other hacker attacks.<\/p>\n<p>Of the languages mentioned above, Java is the most widely used across enterprise and Android app development, while Swift is a top 10 language, thanks in part to iOS app development. And there&#8217;s growing interest in Rust as a replacement for C and C++ in systems programming. &nbsp;<\/p>\n<p>&#8220;NSA advises organizations to consider making a strategic shift from programming languages that provide little or no inherent memory protection, such as C\/C++, to a memory safe language when possible. Some examples of memory safe languages are C#, Go, Java, Ruby, and Swift,&#8221; the NSA said.<\/p>\n<p>The spy agency cites recent research from Google and Microsoft that <a href=\"https:\/\/www.zdnet.com\/article\/microsoft-70-percent-of-all-security-bugs-are-memory-safety-issues\/\" rel=\"follow\">70% of their security issues<\/a>, respectively <a href=\"https:\/\/www.zdnet.com\/article\/chrome-70-of-all-security-bugs-are-memory-safety-issues\/\" rel=\"follow\">in Chrome<\/a> and Windows, were memory-related and many of them were the result of using C and C++, which are more prone to memory-based vulnerabilities.<\/p>\n<p><strong>Also:&nbsp;<\/strong><a href=\"https:\/\/www.zdnet.com\/article\/cybersecurity-cloud-and-coding-why-these-three-skills-will-lead-demand-in-2023\/\" rel=\"follow\"><strong>Cybersecurity, cloud and coding: Why these three skills will lead demand in 2023<\/strong><\/a><\/p>\n<p>&#8220;Malicious cyber actors can exploit these vulnerabilities for remote code execution or other adverse effects, which can often compromise a device and be the first step in large-scale network intrusions,&#8221; the NSA notes in the <a href=\"https:\/\/media.defense.gov\/2022\/Nov\/10\/2003112742\/-1\/-1\/0\/CSI_SOFTWARE_MEMORY_SAFETY.PDF\" target=\"_blank\" rel=\"noopener noreferrer nofollow\">&#8220;Software Memory Safety&#8221; Cybersecurity Information Sheet<\/a>.<\/p>\n<p>&#8220;Commonly used languages, such as C and C++, provide a lot of freedom and flexibility in memory management while relying heavily on the programmer to perform the needed checks on memory references.&#8221;<\/p>\n<p>So, the agency recommends using a memory safe language where possible, whether its for application development or systems programming.&nbsp;<\/p>\n<p>&#8220;NSA recommends using a memory safe language when possible,&#8221; it notes.<\/p>\n<p>While most infosec professionals are familiar with this debate over memory safe languages, perhaps not all developers are. Though, perhaps they should be, given it&#8217;s a decades-old problem, as Java creator James Gosling recently <a href=\"https:\/\/www.zdnet.com\/article\/programming-languages-java-founder-james-gosling-reveals-more-on-java-and-android\/\" rel=\"follow\">pointed out in a discussion about how and why Java was created<\/a>.&nbsp;<\/p>\n<p>If anything, the NSA document offers developers a clear, plain-language explanation of the technical reasons behind moving towards memory safe languages. Probably the most discussed language in terms of memory safety has been Rust, which is the main candidate as a &#8216;replacement&#8217; for C and C++.&nbsp;<\/p>\n<p>The Linux kernel&nbsp;<a href=\"https:\/\/www.zdnet.com\/article\/linus-torvalds-rust-will-go-into-linux-6-1\/\" rel=\"follow\">recently introduced Rust as the second language to C<\/a>, following the Android Open Source Project. These projects won&#8217;t replace old C\/C++ code, but will prefer Rust for new code. Also, Microsoft Azure CTO Mark Russinovich&nbsp;<a href=\"https:\/\/www.zdnet.com\/article\/programming-languages-its-time-to-stop-using-c-and-c-for-new-projects-says-microsoft-azure-cto\/\" rel=\"follow\">recently called on all developers to use Rust over C and C++ for all new projects<\/a>.&nbsp;<\/p>\n<p>&#8220;By exploiting these types of memory issues, malicious actors \u2013 who are not bound by normal expectations of software use \u2013 may find that they can enter unusual inputs into the program, causing memory to be accessed, written, allocated, or deallocated in unexpected ways,&#8221; the NSA explains.&nbsp;<\/p>\n<p>But \u2013 as experts <a href=\"https:\/\/www.zdnet.com\/article\/programming-languages-its-time-to-stop-using-c-and-c-for-new-projects-says-microsoft-azure-cto\/\" rel=\"follow\">have noted in debates over Rust and C\/C++<\/a>&nbsp;\u2013 the NSA warns that simply using a memory safe language doesn&#8217;t by default preclude introducing memory bugs to software. Additionally, languages often allow libraries that aren&#8217;t written in memory safe languages.<\/p>\n<p>&#8220;Even with a memory safe language, memory management is not entirely memory safe. Most memory safe languages recognize that software sometimes needs to perform an unsafe memory management function to accomplish certain tasks. As a result, classes or functions are available that are recognized as non-memory safe and allow the programmer to perform a potentially unsafe memory management task,&#8221; the NSA said.&nbsp;<\/p>\n<p>&#8220;Some languages require anything memory unsafe to be explicitly annotated as such to make the programmer and any reviewers of the program aware that it is unsafe. Memory safe languages can also use libraries written in non-memory safe languages and thus can contain unsafe memory functionality. Although these ways of including memory unsafe mechanisms subvert the inherent memory safety, they help to localize where memory problems could exist, allowing for extra scrutiny on those sections of code.&#8221;<\/p>\n<p><strong>Also:&nbsp;<a href=\"https:\/\/www.zdnet.com\/article\/cybersecurity-these-are-the-new-things-to-worry-about-in-2023\/\" rel=\"follow\">Cybersecurity: These are the new things to worry about in 2023<\/a><\/strong><\/p>\n<p>The NSA notes that some memory safe languages can come at a performance cost, which requires developers to learn a new language. It also points out there are measures developers can take to harden non-memory safe languages. Google&#8217;s Chrome team, <a href=\"https:\/\/www.zdnet.com\/article\/programming-languages-how-google-is-improving-c-memory-safety\/\" rel=\"follow\">for example, is exploring multiple methods to harden C++<\/a>, but these approaches also come with performance overheads. C++ will remain in Chrome&#8217;s codebase for the foreseeable future. &nbsp; &nbsp;&nbsp;<\/p>\n<p>The NSA recommends static and dynamic application security testing to spot memory issues. It also recommends exploring memory hardening methods, such as Control Flow Guard (CFG), which will place restrictions on where code can be executed. Similarly, Address Space Layout Randomization (ASLR) and Data Execution Prevention (DEP) are recommended.<\/p>\n<p>READ MORE <a href=\"https:\/\/www.zdnet.com\/article\/nsa-to-developers-think-about-switching-from-c-and-c-to-a-memory-safe-programming-language\/#ftag=RSSbaffb68\">HERE<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>For many developers, that could mean a shift towards C#, Go, Java, Ruby, Rust, and Swift.<br \/>\nREAD MORE HERE&#8230;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"colormag_page_layout":"default_layout","footnotes":""},"categories":[62],"tags":[],"class_list":["post-49276","post","type-post","status-publish","format-standard","hentry","category-zdnet-security"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>NSA to developers: Think about switching from C and C++ to a memory safe programming language 2026 | ThreatsHub Cybersecurity News<\/title>\n<meta name=\"description\" content=\"ThreatsHub Cybersecurity News | ThreatsHub.org | Cloud Security &amp; Cyber Threats Analysis Hub. 100% Free OSINT Threat Intelligent and Cybersecurity News.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.threatshub.org\/blog\/nsa-to-developers-think-about-switching-from-c-and-c-to-a-memory-safe-programming-language\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"NSA to developers: Think about switching from C and C++ to a memory safe programming language 2026 | ThreatsHub Cybersecurity News\" \/>\n<meta property=\"og:description\" content=\"ThreatsHub Cybersecurity News | ThreatsHub.org | Cloud Security &amp; Cyber Threats Analysis Hub. 100% Free OSINT Threat Intelligent and Cybersecurity News.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.threatshub.org\/blog\/nsa-to-developers-think-about-switching-from-c-and-c-to-a-memory-safe-programming-language\/\" \/>\n<meta property=\"og:site_name\" content=\"ThreatsHub Cybersecurity News\" \/>\n<meta property=\"article:published_time\" content=\"2022-11-11T11:42:05+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.zdnet.com\/a\/img\/resize\/f99d8c58406362742e76e2d7b021b0525ba36437\/2021\/03\/17\/9e759ec4-ff6e-4643-ae21-00ca8cf6cc96\/istock-1135710814.jpg?auto=webp&amp;width=1200\" \/>\n<meta name=\"author\" content=\"TH Author\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@threatshub\" \/>\n<meta name=\"twitter:site\" content=\"@threatshub\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"TH Author\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/nsa-to-developers-think-about-switching-from-c-and-c-to-a-memory-safe-programming-language\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/nsa-to-developers-think-about-switching-from-c-and-c-to-a-memory-safe-programming-language\\\/\"},\"author\":{\"name\":\"TH Author\",\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/#\\\/schema\\\/person\\\/12e0a8671ff89a863584f193e7062476\"},\"headline\":\"NSA to developers: Think about switching from C and C++ to a memory safe programming language\",\"datePublished\":\"2022-11-11T11:42:05+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/nsa-to-developers-think-about-switching-from-c-and-c-to-a-memory-safe-programming-language\\\/\"},\"wordCount\":831,\"publisher\":{\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/nsa-to-developers-think-about-switching-from-c-and-c-to-a-memory-safe-programming-language\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.zdnet.com\\\/a\\\/img\\\/resize\\\/f99d8c58406362742e76e2d7b021b0525ba36437\\\/2021\\\/03\\\/17\\\/9e759ec4-ff6e-4643-ae21-00ca8cf6cc96\\\/istock-1135710814.jpg?auto=webp&amp;width=1200\",\"articleSection\":[\"ZDNet | Security\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/nsa-to-developers-think-about-switching-from-c-and-c-to-a-memory-safe-programming-language\\\/\",\"url\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/nsa-to-developers-think-about-switching-from-c-and-c-to-a-memory-safe-programming-language\\\/\",\"name\":\"NSA to developers: Think about switching from C and C++ to a memory safe programming language 2026 | ThreatsHub Cybersecurity News\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/nsa-to-developers-think-about-switching-from-c-and-c-to-a-memory-safe-programming-language\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/nsa-to-developers-think-about-switching-from-c-and-c-to-a-memory-safe-programming-language\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.zdnet.com\\\/a\\\/img\\\/resize\\\/f99d8c58406362742e76e2d7b021b0525ba36437\\\/2021\\\/03\\\/17\\\/9e759ec4-ff6e-4643-ae21-00ca8cf6cc96\\\/istock-1135710814.jpg?auto=webp&amp;width=1200\",\"datePublished\":\"2022-11-11T11:42:05+00:00\",\"description\":\"ThreatsHub Cybersecurity News | ThreatsHub.org | Cloud Security & Cyber Threats Analysis Hub. 100% Free OSINT Threat Intelligent and Cybersecurity News.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/nsa-to-developers-think-about-switching-from-c-and-c-to-a-memory-safe-programming-language\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/nsa-to-developers-think-about-switching-from-c-and-c-to-a-memory-safe-programming-language\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/nsa-to-developers-think-about-switching-from-c-and-c-to-a-memory-safe-programming-language\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.zdnet.com\\\/a\\\/img\\\/resize\\\/f99d8c58406362742e76e2d7b021b0525ba36437\\\/2021\\\/03\\\/17\\\/9e759ec4-ff6e-4643-ae21-00ca8cf6cc96\\\/istock-1135710814.jpg?auto=webp&amp;width=1200\",\"contentUrl\":\"https:\\\/\\\/www.zdnet.com\\\/a\\\/img\\\/resize\\\/f99d8c58406362742e76e2d7b021b0525ba36437\\\/2021\\\/03\\\/17\\\/9e759ec4-ff6e-4643-ae21-00ca8cf6cc96\\\/istock-1135710814.jpg?auto=webp&amp;width=1200\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/nsa-to-developers-think-about-switching-from-c-and-c-to-a-memory-safe-programming-language\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"NSA to developers: Think about switching from C and C++ to a memory safe programming language\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/\",\"name\":\"ThreatsHub Cybersecurity News\",\"description\":\"%%focuskw%% Threat Intel \u2013 Threat Intel Services \u2013 CyberIntelligence \u2013 Cyber Threat Intelligence - Threat Intelligence Feeds - Threat Intelligence Reports - CyberSecurity Report \u2013 Cyber Security PDF \u2013 Cybersecurity Trends - Cloud Sandbox \u2013- Threat IntelligencePortal \u2013 Incident Response \u2013 Threat Hunting \u2013 IOC - Yara - Security Operations Center \u2013 SecurityOperation Center \u2013 Security SOC \u2013 SOC Services - Advanced Threat - Threat Detection - TargetedAttack \u2013 APT \u2013 Anti-APT \u2013 Advanced Protection \u2013 Cyber Security Services \u2013 Cybersecurity Services -Threat Intelligence Platform\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/#organization\"},\"alternateName\":\"Threatshub.org\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/#organization\",\"name\":\"ThreatsHub.org\",\"alternateName\":\"Threatshub.org\",\"url\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/wp-content\\\/uploads\\\/2025\\\/05\\\/Threatshub_Favicon1.jpg\",\"contentUrl\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/wp-content\\\/uploads\\\/2025\\\/05\\\/Threatshub_Favicon1.jpg\",\"width\":432,\"height\":435,\"caption\":\"ThreatsHub.org\"},\"image\":{\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/x.com\\\/threatshub\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/#\\\/schema\\\/person\\\/12e0a8671ff89a863584f193e7062476\",\"name\":\"TH Author\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/066276f086d5155df79c850206a779ad368418a844da0182ce43f9cd5b506c3d?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/066276f086d5155df79c850206a779ad368418a844da0182ce43f9cd5b506c3d?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/066276f086d5155df79c850206a779ad368418a844da0182ce43f9cd5b506c3d?s=96&d=mm&r=g\",\"caption\":\"TH Author\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"NSA to developers: Think about switching from C and C++ to a memory safe programming language 2026 | ThreatsHub Cybersecurity News","description":"ThreatsHub Cybersecurity News | ThreatsHub.org | Cloud Security & Cyber Threats Analysis Hub. 100% Free OSINT Threat Intelligent and Cybersecurity 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:\/\/www.threatshub.org\/blog\/nsa-to-developers-think-about-switching-from-c-and-c-to-a-memory-safe-programming-language\/","og_locale":"en_US","og_type":"article","og_title":"NSA to developers: Think about switching from C and C++ to a memory safe programming language 2026 | ThreatsHub Cybersecurity News","og_description":"ThreatsHub Cybersecurity News | ThreatsHub.org | Cloud Security & Cyber Threats Analysis Hub. 100% Free OSINT Threat Intelligent and Cybersecurity News.","og_url":"https:\/\/www.threatshub.org\/blog\/nsa-to-developers-think-about-switching-from-c-and-c-to-a-memory-safe-programming-language\/","og_site_name":"ThreatsHub Cybersecurity News","article_published_time":"2022-11-11T11:42:05+00:00","og_image":[{"url":"https:\/\/www.zdnet.com\/a\/img\/resize\/f99d8c58406362742e76e2d7b021b0525ba36437\/2021\/03\/17\/9e759ec4-ff6e-4643-ae21-00ca8cf6cc96\/istock-1135710814.jpg?auto=webp&amp;width=1200","type":"","width":"","height":""}],"author":"TH Author","twitter_card":"summary_large_image","twitter_creator":"@threatshub","twitter_site":"@threatshub","twitter_misc":{"Written by":"TH Author","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.threatshub.org\/blog\/nsa-to-developers-think-about-switching-from-c-and-c-to-a-memory-safe-programming-language\/#article","isPartOf":{"@id":"https:\/\/www.threatshub.org\/blog\/nsa-to-developers-think-about-switching-from-c-and-c-to-a-memory-safe-programming-language\/"},"author":{"name":"TH Author","@id":"https:\/\/www.threatshub.org\/blog\/#\/schema\/person\/12e0a8671ff89a863584f193e7062476"},"headline":"NSA to developers: Think about switching from C and C++ to a memory safe programming language","datePublished":"2022-11-11T11:42:05+00:00","mainEntityOfPage":{"@id":"https:\/\/www.threatshub.org\/blog\/nsa-to-developers-think-about-switching-from-c-and-c-to-a-memory-safe-programming-language\/"},"wordCount":831,"publisher":{"@id":"https:\/\/www.threatshub.org\/blog\/#organization"},"image":{"@id":"https:\/\/www.threatshub.org\/blog\/nsa-to-developers-think-about-switching-from-c-and-c-to-a-memory-safe-programming-language\/#primaryimage"},"thumbnailUrl":"https:\/\/www.zdnet.com\/a\/img\/resize\/f99d8c58406362742e76e2d7b021b0525ba36437\/2021\/03\/17\/9e759ec4-ff6e-4643-ae21-00ca8cf6cc96\/istock-1135710814.jpg?auto=webp&amp;width=1200","articleSection":["ZDNet | Security"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.threatshub.org\/blog\/nsa-to-developers-think-about-switching-from-c-and-c-to-a-memory-safe-programming-language\/","url":"https:\/\/www.threatshub.org\/blog\/nsa-to-developers-think-about-switching-from-c-and-c-to-a-memory-safe-programming-language\/","name":"NSA to developers: Think about switching from C and C++ to a memory safe programming language 2026 | ThreatsHub Cybersecurity News","isPartOf":{"@id":"https:\/\/www.threatshub.org\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.threatshub.org\/blog\/nsa-to-developers-think-about-switching-from-c-and-c-to-a-memory-safe-programming-language\/#primaryimage"},"image":{"@id":"https:\/\/www.threatshub.org\/blog\/nsa-to-developers-think-about-switching-from-c-and-c-to-a-memory-safe-programming-language\/#primaryimage"},"thumbnailUrl":"https:\/\/www.zdnet.com\/a\/img\/resize\/f99d8c58406362742e76e2d7b021b0525ba36437\/2021\/03\/17\/9e759ec4-ff6e-4643-ae21-00ca8cf6cc96\/istock-1135710814.jpg?auto=webp&amp;width=1200","datePublished":"2022-11-11T11:42:05+00:00","description":"ThreatsHub Cybersecurity News | ThreatsHub.org | Cloud Security & Cyber Threats Analysis Hub. 100% Free OSINT Threat Intelligent and Cybersecurity News.","breadcrumb":{"@id":"https:\/\/www.threatshub.org\/blog\/nsa-to-developers-think-about-switching-from-c-and-c-to-a-memory-safe-programming-language\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.threatshub.org\/blog\/nsa-to-developers-think-about-switching-from-c-and-c-to-a-memory-safe-programming-language\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.threatshub.org\/blog\/nsa-to-developers-think-about-switching-from-c-and-c-to-a-memory-safe-programming-language\/#primaryimage","url":"https:\/\/www.zdnet.com\/a\/img\/resize\/f99d8c58406362742e76e2d7b021b0525ba36437\/2021\/03\/17\/9e759ec4-ff6e-4643-ae21-00ca8cf6cc96\/istock-1135710814.jpg?auto=webp&amp;width=1200","contentUrl":"https:\/\/www.zdnet.com\/a\/img\/resize\/f99d8c58406362742e76e2d7b021b0525ba36437\/2021\/03\/17\/9e759ec4-ff6e-4643-ae21-00ca8cf6cc96\/istock-1135710814.jpg?auto=webp&amp;width=1200"},{"@type":"BreadcrumbList","@id":"https:\/\/www.threatshub.org\/blog\/nsa-to-developers-think-about-switching-from-c-and-c-to-a-memory-safe-programming-language\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.threatshub.org\/blog\/"},{"@type":"ListItem","position":2,"name":"NSA to developers: Think about switching from C and C++ to a memory safe programming language"}]},{"@type":"WebSite","@id":"https:\/\/www.threatshub.org\/blog\/#website","url":"https:\/\/www.threatshub.org\/blog\/","name":"ThreatsHub Cybersecurity News","description":"%%focuskw%% Threat Intel \u2013 Threat Intel Services \u2013 CyberIntelligence \u2013 Cyber Threat Intelligence - Threat Intelligence Feeds - Threat Intelligence Reports - CyberSecurity Report \u2013 Cyber Security PDF \u2013 Cybersecurity Trends - Cloud Sandbox \u2013- Threat IntelligencePortal \u2013 Incident Response \u2013 Threat Hunting \u2013 IOC - Yara - Security Operations Center \u2013 SecurityOperation Center \u2013 Security SOC \u2013 SOC Services - Advanced Threat - Threat Detection - TargetedAttack \u2013 APT \u2013 Anti-APT \u2013 Advanced Protection \u2013 Cyber Security Services \u2013 Cybersecurity Services -Threat Intelligence Platform","publisher":{"@id":"https:\/\/www.threatshub.org\/blog\/#organization"},"alternateName":"Threatshub.org","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.threatshub.org\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.threatshub.org\/blog\/#organization","name":"ThreatsHub.org","alternateName":"Threatshub.org","url":"https:\/\/www.threatshub.org\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.threatshub.org\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.threatshub.org\/blog\/coredata\/uploads\/2025\/05\/Threatshub_Favicon1.jpg","contentUrl":"https:\/\/www.threatshub.org\/blog\/coredata\/uploads\/2025\/05\/Threatshub_Favicon1.jpg","width":432,"height":435,"caption":"ThreatsHub.org"},"image":{"@id":"https:\/\/www.threatshub.org\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/threatshub"]},{"@type":"Person","@id":"https:\/\/www.threatshub.org\/blog\/#\/schema\/person\/12e0a8671ff89a863584f193e7062476","name":"TH Author","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/066276f086d5155df79c850206a779ad368418a844da0182ce43f9cd5b506c3d?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/066276f086d5155df79c850206a779ad368418a844da0182ce43f9cd5b506c3d?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/066276f086d5155df79c850206a779ad368418a844da0182ce43f9cd5b506c3d?s=96&d=mm&r=g","caption":"TH Author"}}]}},"_links":{"self":[{"href":"https:\/\/www.threatshub.org\/blog\/wp-json\/wp\/v2\/posts\/49276","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.threatshub.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.threatshub.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.threatshub.org\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.threatshub.org\/blog\/wp-json\/wp\/v2\/comments?post=49276"}],"version-history":[{"count":0,"href":"https:\/\/www.threatshub.org\/blog\/wp-json\/wp\/v2\/posts\/49276\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.threatshub.org\/blog\/wp-json\/wp\/v2\/media?parent=49276"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.threatshub.org\/blog\/wp-json\/wp\/v2\/categories?post=49276"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.threatshub.org\/blog\/wp-json\/wp\/v2\/tags?post=49276"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}