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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Ask HN: I’m genuinely curious to know is Rust over hyped?

2 点作者 mr_o47大约 4 年前
I have been using HN for awhile now and found good amount of projects written in Rust and most of them are just rewritten in Rust.<p>I’m genuinely curious to know why people seem to be obsessed with Rust

3 条评论

coldtea大约 4 年前
&gt;<i>I’m genuinely curious to know why people seem to be obsessed with Rust</i><p>Because it&#x27;s a C++ contender with equal speed, modern design, memory and race safety, good documentation, good basic tooling (production grade compiler, language server, great package manager and build tool), and major adoption (e.g. major app and infrastructure projects from Mozilla, Microsoft, Cloudflare, and Google have been done with it).<p>Aside from the learning curve, and some areas its catching up necessarily (like package availability), what&#x27;s not to like?<p>In any case, why don&#x27;t you try it? It doesn&#x27;t matter whether its hyped or not, what matters is if it fits or doesn&#x27;t fit your use case.
southerntofu大约 4 年前
You can find plenty of discussions about this point specifically, both on HN and elsewhere.<p>For me personally, what drew me to Rust is a strong type system with a good standard library, a friendly compiler that helps me understand what i did wrong (instead of letting me shoot myself in the foot), integrated modern tooling (offline docs, tests and doctests), and more generally the &quot;we can have nice things&quot; mindset.<p>Interesting also that Rust plays well both as high-level and low-level language. It&#x27;s used for manually manipulating bits of memory on embedded controllers, but is also really good as a type-safe Python-like scripting language. The static type system allows you to jump at any between lower&#x2F;higher levels of abstractions depending on what you need and want to do, usually without breaking anything (see also &quot;fearless refactoring&quot;).<p>Rust is not superior to every language. It&#x27;s got a bunch of tradeoffs. It&#x27;s just rather good in many cases, and keeps on improving because it&#x27;s developed by the community in the open not from an ivory tower disconnected from our problems.
childintime大约 4 年前
From my perspective it is not Rust that is over hyped, but other languages are, like C++, where the good parts can be found only if you also accept the bad parts. Which are of course the ones one spends most time on, by far (intertwined as they are). Often one doesn&#x27;t like to call the pile of shit that results by its proper name. Even less so when it pays the bills. If the language inventor wrote all programs (and the culture around the language), the language would have been fine! But shit happens. Rust might just be able to succeed because it clears exactly that (incredible) barrier.