TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Why C/C++ Is My One True Love

7 pointsby morpharover 11 years ago

5 comments

pinealservoover 11 years ago
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 未加载
DrTungover 11 years ago
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 未加载
adnanbalochover 11 years ago
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 未加载
octopusover 11 years ago
There is no C&#x2F;C++ language today! You are talking about two very different languages with similar roots.
评论 #7236267 未加载
评论 #7243085 未加载
Roland_Yover 11 years ago
Lua ? How could you not fall in love with Lua ?
评论 #7237490 未加载