不爽,C++0x 没了……

本文回顾了C++0x标准的发展历程,并分享了作者对于标准推迟发布及Concepts特性被移除的看法。虽然C++0x未能在2009年如期发布,但即使没有Concepts,C++1x仍将是一次巨大的进步。

2009年马上要过去了,每半个月去查一下讨论是我的功课,所以其实早就知道 c++新标准在 0x(也就是09年)完成已经没有实际可能。但就像爱一个人就总会以为奇迹会为我而生一样,我甚至是“欺骗”我的学生,说c++之父说了,c++ 0x 会在09年出现的……所以,或许就是12月31日吧? 当然,欺骗是在对方不知情情况下才叫欺骗,现在互联网这么发达,学生们的英语水平也比我好……是他们很同情我对c++ 0x 这么痴情啊,所以倒过来“欺骗”我“是啊,是啊。“。

得,Dr.Dobb 网站发表C++老大的文章了:《The C++0x "Remove Concepts" Decision》,也很快有了翻译得不错的中文稿(推荐阅读,相对其它的翻译,此稿翻译得好)。

关于“Concepts”,我知道这是C++老大关于0x的心血,被咔叉掉,我也觉得难受,但倒也不觉得天会塌下来,甚至觉得Concepts其实真的不是有关C++标准最重要的内容之一。

最不爽的,还是老大的最后提的一节的内容:

Even after cutting "concepts," the next C++ standard may be delayed. Sadly, there will be no C++0x (unless you count the minor corrections in C++03). We must wait for C++1x, and hope that 'x' will be a low digit. There is hope because C++1x is now feature complete (excepting the possibility of some national standards bodies effectively insisting on some feature present in the formal proposal for the standard). "All" that is left is the massive work of resolving outstanding technical issues and comments.

Even without "concepts," C++1x will be a massive improvement on C++98, especially when you consider that these features (and more) are designed to interoperate for maximum expressiveness and flexibility. I hope we will see "concepts" in a revision of C++ in maybe five years. Maybe we could call that C++1y or even "C++y!".

妈啊,这前一个Even把俺的心给击碎了,这后一个even,又让我将心比心,想想BS的心其实才是最苦的,可老人家字里行间还是相当冷静,多有鼓励……一时心酸,于是无语……哎,我早就说过了,作为一个程序员,千万别去爱一门语言!(最近身边一帮Java死忠一付患得患失样,现在轮到那我了 :) )

当时正在出差,几乎没心思写,现在回来了,对这件事小记一笔,没别的意思。

 

评论 17
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

南郁

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值