Follow Us

We use cookies to provide you with a better experience. If you continue to use this site, we'll assume you're happy with this. Alternatively, click here to find out how to manage these cookies

hide cookie message

ISO agrees C++11 extension to popular programming language

C++ standards committee agrees parallel computing upgrade

Article comments

The International Organisation for Standards (ISO) is enabling developers to leverage capabilities for parallel algorithms and higher performance, thanks to its recently approved upgrade to the C++ language, according to the chair of the committee responsible for the language.

C++11 is the first major new version of ISO C++, said Herb Sutter, chair of the ISO C++ standards committee.

Featured in C++11 are lambda functions, which serve as a key enabler of emerging parallel algorithms and revolutionise the use of the existing Standard Template Library, said Sutter, who also is principal architect for native languages at Microsoft. "What's already there in the C++98 standard library will immediately become even easier to use," he said.

Move semantics in C++11, meanwhile, lead to higher performance. Concurrency features include types for portable lock-free programming.

 

The final ballot for the C++ standard finished closed last Wednesday and was unanimously approved, Sutter said in his blog. C++11 has been referred to as C++0x and is to be published in a few weeks. The language, he said, is used for "just about everything - the world is built on C++."

C++, including its C subset, is used to build the compilers and runtimes for virtually all competing languages, all major web browsers and all major operating systems, Sutter said. It also is the main language used in Google and Facebook and the main language for nearly all Microsoft products, he said. "C++ is the language of choice for demanding applications in almost every application domain," said Sutter.

C++ is a general purpose language, said C++ developer Henry Skoglund. "Most of the things that are new in this standard, I'd say, are important for systems development and compiler [development]," he said. Lamdba capabilities, said Skoglund, allow developers to "write more bug-free, less verbose code."

Also included in C++11 are auto and decltype functions, with auto providing convenience for type deductions and decltype enabling developers to get the strong type of any expression. Additionally, smart pointers, such as unique_ptr, offer standardised and automated memory management.

The next step for the C++ standard is for compilers to conform to it in the next year or two, Sutter said. "While that happens, the standards committee will continue to build on the great new language features already in C+11 by continuing to add to C++'s standard library so that a larger portable library (that does not require new language features beyond those already in C++11) will be available 'in the box' with every C++ implementation."

Also under consideration is another round of language extensions, such as template concepts or stronger C++11 lamdbas.



Share:

More from Techworld

More relevant IT news

Comments



Send to a friend

Email this article to a friend or colleague:

PLEASE NOTE: Your name is used only to let the recipient know who sent the story, and in case of transmission error. Both your name and the recipient's name and address will not be used for any other purpose.

Techworld White Papers

Choose – and Choose Wisely – the Right MSP for Your SMB

End users need a technology partner that provides transparency, enables productivity, delivers...

Download Whitepaper

10 Effective Habits of Indispensable IT Departments

It’s no secret that responsibilities are growing while budgets continue to shrink. Download this...

Download Whitepaper

Gartner Magic Quadrant for Enterprise Information Archiving

Enterprise information archiving is contributing to organisational needs for e-discovery and...

Download Whitepaper

Advancing the state of virtualised backups

Dell Software’s vRanger is a veteran of the virtualisation specific backup market. It was the...

Download Whitepaper

Techworld UK - Technology - Business

Innovation, productivity, agility and profit

Watch this on demand webinar which explores IT innovation, managed print services and business agility.

Techworld Mobile Site

Access Techworld's content on the move

Get the latest news, product reviews and downloads on your mobile device with Techworld's mobile site.

Find out more...

From Wow to How : Making mobile and cloud work for you

On demand Biztech Briefing - Learn how to effectively deliver mobile work styles and cloud services together.

Watch now...

Site Map

* *