Get the latest tech news

Circle C++ with memory safety


safety Over the past two years, the United States Government has been issuing warnings about memory-unsafe programming languages with increasing urgency. Much of the country's critical infrastructure relies on software written in C and C++, languages which are very memory unsafe, leaving these systems more vulnerable to exploits by adversaries.

Here's the value proposition: compiler and library vendors make an extra effort to provide a robust environment so that users don't have to read the docs. If you relocate from an object inside control flow, it becomes potentially uninitialized, and its destructor is conditionally executed after reading an automatically-generated drop flag. It's a beautiful idea, but it feels a bit like mastering alien technology if you're a frontend engineer who doesn't already work extensively with control-flow graphs.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of Circle

Circle

Photo of Circle C++

Circle C++

Photo of Memory Safety

Memory Safety

Related news:

News photo

Google's Circle to Search tipped to gain a 'listen' feature and more

News photo

Google Chrome for iOS might soon gain Circle to Search feature

News photo

Stellaris devs using AI-generated voices to voice AI characters in-game – it’s the circle of life