TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Looking at C++14

51 点作者 jlemoine大约 11 年前

8 条评论

diydsp大约 11 年前
&gt;C++14 brings core language support for binary literals, which means you now can integrate binary literals as such in your code:<p>&gt;char c = 0b01011010<p>I can&#x27;t believe this took TWENTY YEARS (or at least that&#x27;s how long I personally have been waiting). Hurray! (I&#x27;m going to hobble my walker over to the desktop and start codin&#x27; binary.)
评论 #7403516 未加载
评论 #7403241 未加载
评论 #7403714 未加载
platform大约 11 年前
C++ is still missing optional Reflection&#x2F;Introspection. With that feature it could easily replace majority of todays typed languages (with exception of language such has Haskell or Rust). Reason is that reflextion allows to close a &#x27;external data types&#x27; dissonance that currently is present in C++. In other words it is not possible to develop &#x27;framework software&#x27; that can introspect plugin&#x2F;consumer code to derive how they view the externally defined data sources (eg Databases, UI kits, JSON streams&#x2F;etc).
评论 #7403567 未加载
评论 #7403505 未加载
sheetjs大约 11 年前
What is the current state of C++11 support in major compilers (e.g. G++, clang, MSVC)
评论 #7403026 未加载
评论 #7403031 未加载
评论 #7403025 未加载
mindstab大约 11 年前
I was really excited about learning&#x2F;using some of the new stuff coming in c++11 and so on until a new job introduced me to Go lang. Now it seems like all of that stuff and more, elegantly built in instead of bolted on. To be fair I think it has a big bent towards server apps and not all general purpose stuff so it only to me seems better for a subset of all c++ work. on the other hand, Mozilla&#x27;s Rust also looks interesting. Does anyone else feel like c++ is finally starting to be replaced in different segments by more target newer more elegant languages?
评论 #7403019 未加载
评论 #7403070 未加载
评论 #7403187 未加载
halayli大约 11 年前
I wish they add a new operator: &quot;in&quot; ... then it can be defined in maps and whatnot for lookups: if (123 in x)
评论 #7403667 未加载
评论 #7403273 未加载
sippeangelo大约 11 年前
&gt; 3781 - Single quotation mark as digit separator<p>Hold on a minute. Why is this even a thing? Do people really use HUGE numeric literals and have so much trouble reading them that this is needed?<p>This just sounds like another parsing nightmare that really should belong in syntax highlighting rather than exist as some obscure language feature.
评论 #7403550 未加载
greatsuccess大约 11 年前
For the love of God, or some other entity you find holy or unholy.<p>Stop using this bastard of a language. Its an offront to software engineering and must simply <i>die</i>
评论 #7403209 未加载
评论 #7403347 未加载
评论 #7403087 未加载
评论 #7403188 未加载
评论 #7403415 未加载
评论 #7403092 未加载
puppetmaster3大约 11 年前
I here by announce, that C++ next version will be called D! More links here: <a href="http://dlang.org" rel="nofollow">http:&#x2F;&#x2F;dlang.org</a>