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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Ask HN: Fluent in go and Rust? Which one do you prefer and why?

12 点作者 manx5 个月前
You should have done at least a full project in both, a bit more than just scratching the surface.<p>I find opinions from people who only know one side not very useful, because they&#x27;re usually judging on how they are imagining things to be, rather than how they would see things after giving it a serious chance.<p>Talking to an expert who knows both sides well is usually more nuanced.<p>I hope that makes sense. If this gives good responses, I would like to ask the same question about other polarizing technologies and paradigms. Like dynamic vs static typing for example.

4 条评论

a_tartaruga5 个月前
For me golang vibes are better.<p>Go is a little too verbose but in a stupid way. Rust is too verbose in a clever way. Go is so dumb it is mind numbingly boring. Rust is so clever it becomes boring to learn.<p>You can use go in about 1 way that works. Rust you can use in many different ways. My guess is that really knowing rust is 2-5x harder than really knowing go.<p>To really get into go you need to understand the runtime, scheduling and especially GC. For rust you need to at least understand the compiler the macro language and of course the borrow checker. Then if you want to do concurrency you need to look into async await or whatever is going on these days.<p>For whatever reason I find the go runtime fun to learn about and the rust compiler tedious to learn about.<p>Go tools are smoother and easier to learn. I know it makes me a philistine but fast compile times are nice.
neonsunset5 个月前
C#, F# and Rust of course. Go is not needed, and is sometimes harmful to the projects that use it.
MeetingsBrowser5 个月前
Depends on what you are doing, but without additional constraints the real answer is probably python.
评论 #42419551 未加载
revskill5 个月前
Use typescript first.
评论 #42418472 未加载