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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Choosing Between Rust or Go?

60 点作者 psxuaw大约 5 年前

12 条评论

krebs_liebhaber大约 5 年前
This whole site reads like blogspam. The copy has that uncanny &quot;SEO-optimized&quot; <i>je ne sas quoi</i> to it, with a writing style halfway between &quot;high-school newspaper&quot; and &quot;coding interview cheat-sheet written by an Indian ex-pat&quot;, using parts of the English language without understanding the underlying meaning or where they fit in - like a script kiddie, but with natural language. Does anyone else get the heebie-jeebies when they read &quot;uncanny&quot; text like this?
评论 #22729747 未加载
评论 #22729971 未加载
评论 #22729814 未加载
kristoff_it大约 5 年前
So when I wrote my piece complaining about how people should not try to compare Go and Rust as they were created for very different purposes, people kept commenting that I was attacking a problem that I had came up with myself, and yet here&#x27;s one more comparison of that kind reaching the front page of hn.<p>To me the question in the title is as ill posed as would be &quot;Choosing Between C or JavaScript?&quot;.
评论 #22730474 未加载
评论 #22730362 未加载
评论 #22730652 未加载
评论 #22730473 未加载
jtsiskin大约 5 年前
Note that the section &quot;Fuschia: Google’s Successor to Android&quot; is incorrect. The [Fuchsia Programming Language Policy](<a href="https:&#x2F;&#x2F;fuchsia.googlesource.com&#x2F;fuchsia&#x2F;+&#x2F;refs&#x2F;heads&#x2F;master&#x2F;docs&#x2F;project&#x2F;policy&#x2F;programming_languages.md" rel="nofollow">https:&#x2F;&#x2F;fuchsia.googlesource.com&#x2F;fuchsia&#x2F;+&#x2F;refs&#x2F;heads&#x2F;master...</a>) states neither Rust nor Go is not supported for end-developers.
评论 #22732611 未加载
bestouff大约 5 年前
Initially my take was Javascript is for quick-and-dirty code, Rust is for beautiful thought-out architectures, and Go is somewhere in the middle. Nowadays I tend to do even quick hacks in Rust.
评论 #22729843 未加载
评论 #22729951 未加载
Scuds大约 5 年前
My general file card on Rust&#x27;s appropriateness:<p>It&#x27;s for anywhere you want an iron grip on memory and correctness and the cost of screwing up is very large and don&#x27;t need a quick minimum viable product. You&#x27;d expect to be writing a database or a high availability proxying server or any kind of driver or a game engine
ferest大约 5 年前
Go is more like a faster python or lighter java, rust is more like C&#x2F;C++, they aren&#x27;t comparable
评论 #22731180 未加载
christiansakai大约 5 年前
I like both, why not both? They are created for different purposes.
apta大约 5 年前
&gt; Go probably is a better successor to Java since it’s useful for building distributed systems.<p>Far from it. golang, both the language and the ecosystem offer nothing close to what Java (and the JVM) offer in terms of building reliable systems, monitoring, profiling, performance, etc. Sorry to say, the fact that this comparison was made in the first place shows lack of experience.
marcrosoft大约 5 年前
I don&#x27;t know Rust but Go:<p>* Go is an extremely productive language * It doesn&#x27;t have all the fancy cool features other languages have * The community is huge and it is easy to find libraries * It has gained popularity faster than any other language I can think of. They must have done something right.
评论 #22729944 未加载
hsnewman大约 5 年前
My only complaint about go is the lack of a Go supported IDE. There are lots of paid ones out there, but I&#x27;ve spent the morning looking for a good one that runs in a web browser that are easy to install.
评论 #22729947 未加载
评论 #22729972 未加载
评论 #22732658 未加载
fdghfg大约 5 年前
tl;dr Go, of course. rust it just too fugly and has no worthy support on windows and in IDEs. sure, you may love it but if you check out jobs, it&#x27;s like 100:1 for Go. rust is and will be an exotic language for very niche use cases.<p>let the downvotes begin :)
评论 #22732718 未加载
评论 #22731312 未加载
评论 #22731139 未加载
评论 #22742863 未加载
zerr大约 5 年前
I&#x27;ve abandoned Go in the middle of The Go Programming Language. There is really no reason to use it - there are much better languages for systems (both - as in services as well as in low-level systems) development. Desktop development experience is quite a mess as well.
评论 #22729811 未加载