Skip to main content

The White House just warned against using these popular programming languages

A woman and a man sit together by a desk, using a graphics editing program on a computer.
Intel

Some of developers’ favorite programming languages cause the biggest security risk for systems that require the utmost safety, according to the White House.

The government sanctioned Office of the National Cyber Director (ONCD), recently released a report detailing that it is recommending that developers use various “memory-safe programming languages.” This list happens to exclude popular languages, such as C and C++, which have been deemed to have flaws in their memory safety that make them security risks.

As Tom’s Hardware points out, memory safety is the protection engrained within memory access that keeps bugs and vulnerabilities at bay. Such examples include the runtime error detection checks in Java, which is considered a memory-safe language. However, C and C++ have no safety checks and allow direct access to memory.

Several companies, including Microsoft and Google, have connected security vulnerabilities to memory safety issues with their systems. In 2019, Microsoft found that around 70% of security vulnerabilities were caused by memory safety issues. Google reported the same figure in 2020 in regard to bugs in its Chromium browser. Notably, Microsoft only recently expanded the compatibility of its own App Store to include developer use of languages such as C++.

With C and C++ being among the programming languages that don’t have built-in safety checks, the ONCD recommends against using them within large organizations, tech companies, and government entities. The advice coincides with President Joe Biden’s cybersecurity strategy to “secure the building blocks of cyberspace.”

Even so, the ONCD does not have an approved list of programming languages and has simply asked companies to use discernment with their software, while also opting for memory-safe hardware to minimize security issues. The closest these is to a sanctioned list is one devised by the National Security Agency (NSA) in 2022. The memory safe languages include:

  • Rust
  • Go
  • C#
  • Java
  • Swift
  • JavaScript
  • Ruby

Tom’s Hardware noted while these languages might past the test security-wise, many of them are not developer favorites. The publication added that the languages are in the top 20, but only four of them, C#, Java, Python, and JavaScript, are consistently popular with developers.

This report is a recommendation not, a rule. It will be interesting to see how companies and developers work with it as time goes on.

Fionna Agomuoh
Fionna Agomuoh is a technology journalist with over a decade of experience writing about various consumer electronics topics…
Twitter profiles for businesses just got way more useful
A person's hands holding a smartphone as they browse Twitter on it.

Business accounts on Twitter now have a way to put their (fairly detailed) contact information front and center on their Twitter profiles.

On Thursday, the Twitter Business Twitter account announced via a tweet that the bird app's Location Spotlight feature will as of today be available globally, to "any professional."

Read more
Adobe’s Lightroom just got a whole lot more useful
A Macbook sits on a desk with Adobe Lightroom opened on screen.

Photographers these days are dabbling more and more in video, and so Adobe’s latest update for its Lightroom software is likely to be warmly welcomed.

Announced on Tuesday, June 14, Adobe is adding a new feature to Lightroom that will let you color grade video. Besides adding adjustments via sliders, the new box of tricks also lets you copy and paste edit settings between photos and videos to ensure that a project using stills and video retains the same look. Presets such as Premium Presets and Lightroom’s A.I.-powered Recommended Presets can be utilized.

Read more
This Alienware 34-inch curved OLED monitor just had its price slashed
The front and back of the Alienware QD-OLED monitor.

Here's a really lucky deal. It's on this gently curved 34-inch Alienware QD-OLED monitor, the AW3423DWF, which is now down to exactly $777 from its usual price sitting around $900. That saves you about $122. Lucky, huh? Well, not quite, as it is a part of the Best Buy 4th of July sale, set to end on July 7 (7/7). It's one of the highest rated gaming monitors on the site and it can be yours at this special price for a limited time only. Tap the button below to check out its current price or keep reading to see why people love it so much.

Why you should buy this 34-inch Alienware QD-OLED monitor
The Alienware AW3423DWF is a curved gaming monitor with an 1800R curve, 165Hz refresh rate, and beautiful QD-OLED display. This designation as a QD-OLED means that it has a Quantum Dot OLED display, a sort of OLED display with improved brightness and better color. In short, you're going to have an absolutely beautiful gaming experience. This monitor has a QHD resolution and a 0.1ms response time.

Read more