打开APP
userphoto
未登录

开通VIP,畅享免费电子书等14项超值服

开通VIP
ISO C++11标准发布
userphoto

2011.10.11

关注

国际标准组织ISO/IEC发布了C++11编程语言标准,售价352瑞士法郎。C++作者Bjarne Stroustrup在自己网站上提供了标准草案文本(PDF),应该与最后的标准内容相差不大。C++0x/11标准在今年8月获得一致通过,它是1998年以来C++语言的第一次大修订,对C++语言进行了改进和扩充,新的特性也扩展了语言在灵活性和效率上的传统长处,例如转移语义,lambda函数,等等。

C++ language gets high marks on performance with new ISO/IEC standard

2011-10-10

C++, one of the most popular programming languages used in everything from Web browsers to 3D video games, has been fully updated and published as, ISO/IEC 14882:2011, Information technology – Programming languages – C++.

ISO/IEC 14882:2011 defines the programming language and specifies requirements for implementation. Also known as C++11, this is the first major revision of the standard since 1998. Its new features extend C++’s traditional strengths of flexibility and efficiency – for example, lambda functions, move semantics, and variadic templates further enable developers to use powerful expressiveness and strong abstraction to write efficient, high-performance code with full access to the hardware available when needed. Even more, the new C++11 has the convenience and ease of use of other modern languages – from features like auto type deduction and explicit virtual override control, to standard smart pointers that mean never writing delete again.

“During recent years the industry has paid more attention to ‘newer’ managed-code environments like Java that emphasize programmer convenience at the expense of expressive power and performance, for example by requiring always-on garbage collection, metadata for reflection, and virtual machine execution that incur a performance expense even when they’re not needed or used,” explains  Herb Sutter, Convener of the ISO working group that developed the standard.

“Those languages continue to have their place. However, ‘traditional’ programming using native languages like C++, which emphasize expressive power and a pay-as-you-go philosophy of avoiding performance overheads unless features are actually used in the programme, never really went away – and now with C++11’s improvements that incorporate many of the best features of managed languages, modern C++ code is as clean and safe as code written other modern languages, as well as fast with performance by default and full access to the underlying system whenever you need it.

“This new edition underlines the continued importance of this popular language, whose new features and increased performance are causing renewed excitement in the industry. C++ continues to be used for just about everything, including for building compilers and runtimes for competing languages, Web browsers like Google’s Chrome, social media platforms like Facebook, and operating systems like Windows.”

C++ is a general purpose programming language based on the C programming language ( ISO/IEC 9899:1999). In addition to the facilities provided by C, C++ provides additional data types, classes, templates, exceptions, namespaces, operator overloading, function name overloading, references, free store management operators, and additional library facilities.

“C++ remains one of the most valuable tools at the disposal of developers, and is the language of choice for demanding applications in almost every domain,” says Mr. Sutter. “With this new edition, users will benefit from the joint effort of experts from all over the world, who worked together to develop an updated and better International Standard that harmonizes and disseminates best practice.”

ISO/IEC 14882:2011, Information technology – Programming languages – C++, is available from ISO national member institutes (see the complete list with contact details). It may also be obtained directly from the ISO Central Secretariat, price 352 Swiss francs, through the ISO Store or by contacting the Marketing, Communication & Information department (see right-hand column).



本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请点击举报
打开APP,阅读全文并永久保存 查看更多类似文章
猜你喜欢
类似文章
c语言
CSDN技术中心 1.1 什么是编程语言:如何像计算机专家一样思考(C 版)
Parsing C++ at nobugs.org
The Meta-Environment
Ten reasons not to use a statically typed functional programming language | F# for fun and profit
Open Forex Platform
更多类似文章 >>
生活服务
热点新闻
分享 收藏 导长图 关注 下载文章
绑定账号成功
后续可登录账号畅享VIP特权!
如果VIP功能使用有故障,
可点击这里联系客服!

联系客服