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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Why C/C++ Is My One True Love

7 点作者 morphar超过 11 年前

5 条评论

pinealservo超过 11 年前
I have a hard time understanding the supposed elegance of C. I know it pretty well and use it all the time, but only because it&#x27;s what the platform demands.<p>On the one hand, C has a tiny runtime that can be omitted or replaced. On the other, it doesn&#x27;t have all sorts of things that would be helpful but not require runtime overhead.<p>My biggest complaint is lack of a module system. #include is a stupid ugly hack. Second would be the way it doesn&#x27;t let you portably define and work with low-level data representations in a standard way. I don&#x27;t count manual bit masking and shifting for this.<p>I would also really prefer a more advanced type system, including parametric polymorphism integrated with the module system, but not via templates.
评论 #7243886 未加载
DrTung超过 11 年前
I also find comfort in C&#x2F;C++, it&#x27;s something about that closeness to the metal that does it.<p>In most other languages (recently I&#x27;ve done a bit of Python) you feel like your walking in someone else&#x27;s shoes. But with C&#x2F;C++ it&#x27;s just you and the machine.
评论 #7238332 未加载
adnanbaloch超过 11 年前
I think you need to try <a href="http://www.webtoolkit.eu/wt" rel="nofollow">http:&#x2F;&#x2F;www.webtoolkit.eu&#x2F;wt</a>
评论 #7257142 未加载
octopus超过 11 年前
There is no C&#x2F;C++ language today! You are talking about two very different languages with similar roots.
评论 #7236267 未加载
评论 #7243085 未加载
Roland_Y超过 11 年前
Lua ? How could you not fall in love with Lua ?
评论 #7237490 未加载