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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Ask HN: Rust or Go?

9 点作者 gomes33超过 3 年前
I want to learn another programming language. I have to decide between Rust or Go.<p>I&#x27;m proficient in Java&#x2F;PHP&#x2F;JS&#x2F;Python&#x2F;C. Between Rust or Go whats the easier language to learn?

5 条评论

spicyusername超过 3 年前
Depends on where you want to take your career.<p>Rust and Go are different tools that are good at solving different categories of problems. Additionally they are both languages that will provide different lessons about modern programming ergonomics.<p>If you expect your programming career to be solving more high level &quot;enterprise-y&quot; problems like writing APIs, web services, and middleware, learning Go is probably going to be more useful to you.<p>If you think your programming career is going to be more low-level like programming operating systems, libraries, or drivers, learning Rust is probably going to be more valuable to you.
评论 #29151264 未加载
snider超过 3 年前
Rust is more tricky, since it places emphasis on correctness and memory management.<p>Starting with go was far easier for me
评论 #29148575 未加载
tptacek超过 3 年前
Go is much, much easier to learn than Rust (Rust is pretty easy if you&#x27;re already a C++ programmer, though). They&#x27;re both fine languages.
tomohawk超过 3 年前
You can learn go in a week, and be proficient quickly. You will find you can read pretty much any go code written by anyone. The source to everything is available.<p>Rust is more like c++. It contains not-so-easy concepts dealing with memory that require different approaches. It will take 6 months or more to get there.
gomes33超过 3 年前
Thank you all for your time with this question.