Feeds

'Major' C++ revision receives standards blessing

Mind your language

Top three mobile application threats

Changes to the standard behind of one of the world's most popular programming languages have been approved by standards chiefs.

The next version of C++ has been approved during a unanimous ballot by the International Organization for Standardization (ISO).

Official publication of what will now be called C++11 is expected by the end of the year, according to C++ guru and ISO C++ committee chief Herb Sutter, who announced the news here.

Sutter called the ballot an "important milestone in the history of a great language".

Speaking to The Reg ahead of the ISO ballot earlier this year, Sutter said he reckoned the update represents the biggest change to C++ since the first standard was ratified 13 years ago.

Sutter told us here: "This is the first major rev of the standard with new features since 1998."

C++ was created by Bjarne Stroustrup as a general purpose programming language that was both powerful and simpler to use than C, thanks to the inclusion of object orientation.

C++ is widely used today to differing degrees in Apple's OS X; Microsoft's Windows 7; Google's MapReduce and Chrome; Facebook; MySQL; and Adobe Illustrator – to name just a few.

While C++ was a step forward, the language has remained complex, prompting Sun Microsystems' James Gosling to cook up Java, famously saying that Java was C++ "without the guns, knives and clubs". Stroustrup's creation is so complex that C++ is reputedly responsible for causing more bad language than any other programming language.

C++11 features a plethora of changes to take down frustration levels, including the addition of lambda functions and initialiser lists. Possibly the biggest change, however, is the inclusion of a standardised memory model, something Gosling's Java actually adopted in 2005.

The memory model means that the C++ spec has a standardised library that devs can adhere to, and that apps can call, regardless of who made the compiler and what platform it is running on. Sutter told us this year that the time is now ripe for a standardised memory model in the official spec. The reasoning is the fact that multi-core chips are coming more and more into the computing mainstream, in everything from Dell Pentium servers to the iPad 2. Multi-core requires that different threads in a piece of software talk to processor's memory cores concurrently, adding to the programming complexity.

Sutter has gone on record in the run-up to C++11 as saying C++ must go concurrent as the "free lunch" of single core is over. ®

Combat fraud and increase customer satisfaction

More from The Register

next story
Ubuntu 14.04 LTS: Great changes, but sssh don't mention the...
Why HELLO Amazon! You weren't here last time
This time it's 'Personal': new Office 365 sub covers just two devices
Redmond also brings Office into Google's back yard
Next Windows obsolescence panic is 450 days from … NOW!
The clock is ticking louder for Windows Server 2003 R2 users
Half of Twitter's 'active users' are SILENT STALKERS
Nearly 50% have NEVER tweeted a word
OpenBSD founder wants to bin buggy OpenSSL library, launches fork
One Heartbleed vuln was too many for Theo de Raadt
Microsoft TIER SMEAR changes app prices whether devs ask or not
Some go up, some go down, Redmond goes silent
Batten down the hatches, Ubuntu 14.04 LTS due in TWO DAYS
Admins dab straining server brows in advance of Trusty Tahr's long-term support landing
Red Hat to ship RHEL 7 release candidate with a taste of container tech
Grab 'near-final' version of next Enterprise Linux next week
Windows 8.1, which you probably haven't upgraded to yet, ALREADY OBSOLETE
Pre-Update versions of new Windows version will no longer support patches
prev story

Whitepapers

Securing web applications made simple and scalable
In this whitepaper learn how automated security testing can provide a simple and scalable way to protect your web applications.
Combat fraud and increase customer satisfaction
Based on their experience using HP ArcSight Enterprise Security Manager for IT security operations, Finansbank moved to HP ArcSight ESM for fraud management.
The benefits of software based PBX
Why you should break free from your proprietary PBX and how to leverage your existing server hardware.
SANS - Survey on application security programs
In this whitepaper learn about the state of application security programs and practices of 488 surveyed respondents, and discover how mature and effective these programs are.
3 Big data security analytics techniques
Applying these Big Data security analytics techniques can help you make your business safer by detecting attacks early, before significant damage is done.