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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Ask HN: Will Rust be as popular as Go or C++?

11 点作者 lostPoncho超过 7 年前
Will Rust continue to remain as a niche language that sometimes people choose as an alternative for C++ or Go, or will it see a rise in adaption soon?

3 条评论

twobyfour超过 7 年前
I don&#x27;t see why it wouldn&#x27;t become as popular as Go, which is still a pretty niche language despite the Silicon Valley and HN hype.<p>C++ is an entire other beast. Asking whether a language will be as popular as &quot;Go or C++&quot; is like asking whether it&#x27;ll be as popular as &quot;Julia or Java&quot;.<p>C++ is one of the top 5, maybe one of the top 2 languages that existing software is built in. For about 15 (maybe even 20) years before Java matured, and then another 5-10 before C# became the default for new Windows projects, it was by leaps and bounds the most common language for building desktop and enterprise software. There are still billions of lines of C++ code in production and being maintained, possibly trillions. Not to mention new projects still being begun using it.<p>FWIW, I personally think Rust has a better chance of becoming the next C++ than Go does, but who can really predict the future anyway?
jstewartmobile超过 7 年前
I sincerely hope not. The last thing we need is another down-in-the-weeds language for bit twiddling.<p>Moore&#x27;s law is practically dead now, so most of the newer CPU-bound algorithms start off using GPUs (where you&#x27;re stuck with GLSL), then move on to custom chips (like Google&#x27;s tensor units for ML, or Bitmain&#x27;s ASICs for bitcoin mining).<p>If we&#x27;re headed back to the mainframe architecture of putting the inner-loop stuff in hardware, then this is a wonderful time to start doing more with higher-level languages.<p>Even as things stand, Java and some Lisps are as fast a C for many applications, and they take care of the memory issues just as well as Rust does, but without the effort or cognitive overhead that Rust requires.
评论 #15294367 未加载
评论 #15293110 未加载
评论 #15292645 未加载
PaulHoule超过 7 年前
I would like to be a believer in a &quot;C replacement&quot; which is safer, but I see people struggling to do simple things in Rust and am skeptical.
评论 #15296552 未加载