Get the latest tech news

C++ on Steroids: Bjarne Stroustrup Presents Guideline-Enforcing 'Profiles' For Resource and Type Safety


"It is now 45+ years since C++ was first conceived," writes 74-year-old C++ creator Bjarne Stroustrup in an article this week for Communications of the ACM. But he complains that many developers "use C++ as if it was still the previous millennium," in an article titled 21st Century C++ that promise...

But he complains that many developers "use C++ as if it was still the previous millennium," in an article titled 21st Century C++ that promises "the key concepts on which performant, type safe, and flexible C++ software can be built: resource management, life-time management, error-handling, modularity, and generic programming... "At the end, I present ways to ensure that code is contemporary, rather than relying on outdated, unsafe, and hard-to-maintain techniques: guidelines and profiles." When thinking about C++, it is important to remember that C++ is not just a language but part of an ecosystem consisting of implementations, libraries, tools, teaching, and more. What we get is "C++ on steroids": Something simple, safe, flexible, and fast; rather than an impoverished subset or something relying on massive run-time checking.

Get the Android app

Or read this on Slashdot

Read more on:

Photo of safety

safety

Photo of profiles

profiles

Photo of resource

resource

Related news:

News photo

Collection of one-file C/C++ libraries with no dependencies, primarily for games

News photo

DeepSeek Gets an ‘F’ in Safety From Researchers | The model failed to block a single attack attempt.

News photo

Meta Safety Advisory Council says the company's moderation changes prioritize politics over safety