frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Ask HN: Why is everyone on HN obsessed with Rust?

9•goldkey•6h ago

Comments

jjgreen•6h ago
Vitamin C deficiency.
minimaxir•5h ago
Because it's a) fast b) good and c) modern agents are surprisingly effective at extracting the stated attributes out of it despite the relatively scarce amount of training data. There isn't a conspiracy.
thesuperbigfrog•5h ago
After working with C and C++ for many years and handling the problems associated with such software, Rust solves many of the difficult problems and makes nearly impossible problems manageable.

Rust is not perfect. It has flaws, moves quickly, and is harder to learn than other programming languages, but it is a large improvement and is advancing the state of the art.

markjgx•5h ago
If I had to guess why HN is so attracted to Rust, there's a few things that compound on each other.

Rust occupies a point in the design space that no other language does. Statically verified memory safety, strong concurrency guarantees, a world class toolchain, and it compiles to native machine code. Before Rust you always had to sacrifice one of these. Go gives you safety and ergonomics but you're garbage collected and limited in expressiveness. C++ gives you performance but safety is entirely your problem. Rust is the first mainstream language to credibly offer all of it.

The toolchain is the part people underestimate. As someone from C++, I cannot overstate how much this matters. Our toolchain is literally cobbled together ancient runes. Package management is strange and archaic. You can't just add a package to your project. There are stacks of contrived and obscure rules that must be followed. The language itself is a hodgepodge of inconsistencies layered on each other over decades. Some codebases are hundreds of macro incantations deep. Some prefer overload maxxing, default constructor shenanigans, uninitialized memory. Macros aren't even part of the language, it's a file preprocessor glued on from the side. Headers and implementations are stitched together. System dependency management is hell on earth. Build systems are fragmented: CMake vs Meson vs Bazel vs Make vs Ninja, pick your poison. I could keep going.

Meanwhile Rust just works. You add a package in a few seconds. Compile to seven different platforms out of the box, including the web. Type references just work, nothing to forward declare. Cargo is your build system, package manager, test runner, doc generator, and publisher in one coherent thing. That entire category of bikeshedding that has plagued C++ for decades just doesn't exist. It's heaven on earth.

whobre•4h ago
Not everyone or even most. Just a very loud minority…
rl3•4h ago
Because it's the foremost headache-reducing language in existence.

Complaints about its complexity no longer hold much water these days what with AI as competent as it is.

CamperBob2•4h ago
A cyclical fad. A few years ago, it was golang. No one around here seems to care much about golang now, but back in the day, God help anyone who said anything negative about Go on HN.

It's too late for anything to replace C/C++ now. Programming is a robot's job, and the robot DGAF. One Turing-complete language is as good as another, all the better if there are a few trillion tokens' worth of it in-distribution.

lovelearning•24m ago
Not most. But I have the impression that a Rust has a cultish fan club in general (with typical problems of cults, like downvoting critics of the language or the cultishness), and some of its thought leaders (cult leaders?) seem to be active here.

Not unique to Rust. I agree with the other comment about similar cyclical fads.

Ask HN: How do you deal with people who trust LLMs?

95•basilikum•3h ago•104 comments

Ask HN: What breaks first when your team grows from 10 to 50 people?

89•hariprasadr•3d ago•69 comments

Spotify playing ads for paid subscribers

101•IncandescentGas•12h ago•82 comments

Ask HN: How is AI-assisted coding going for you professionally?

427•svara•3d ago•611 comments

Ask HN: Which router makers do you trust most?

7•general_reveal•6h ago•5 comments

Ask HN: How are you protecting yourself from skill atrophy?

4•xpnsec•9h ago•5 comments

Ask HN: What is it like being in a CS major program these days?

204•tathagatadg•2d ago•195 comments

Ask HN: Is vibe coding a new mandatory job requirement?

30•newswangerd•1d ago•65 comments

Ask HN: Why is everyone on HN obsessed with Rust?

9•goldkey•6h ago•8 comments

Ask HN: Is Claude down Again?

6•rreyes1979•17h ago•5 comments

Open AI is actively censoring information about voting today in the US

10•resters•1d ago•14 comments

Tell HN: AI tools are making me lose interest in CS fundamentals

97•Tim25659•3d ago•91 comments

Skills Manager – manage AI agent skills across Claude, Cursor, Copilot

3•evergreenxx•18h ago•5 comments

Claude Code 500s

16•bavarianbob•1d ago•5 comments

Knowledge workers managing AI show collapsed productivity, not just a plateau

6•dfordp11•1d ago•2 comments

Ask HN: How do you handle payments for AI agents?

2•bahaghazghazi•1d ago•3 comments

Ask HN: Have you successfully treated forward head posture ("nerd neck")?

57•trashymctrash•4d ago•45 comments

Apple Screen Sharing High Performance

7•chapoly1305•1d ago•0 comments

Ask HN: We need to learn algorithm when there are Claude Code etc.

11•JasonHEIN•1d ago•2 comments

Claude Is Having an Outage

49•theahura•1d ago•17 comments

Ask HN: How are you doing technical interviews in the age of Claude/ChatGPT?

6•jonjou•1d ago•6 comments

I'm 60 years old. Claude Code killed a passion

242•fred1268•3d ago•188 comments

Ask HN: Did GitHub remove Opus and Sonnet from their Copilot Pro subscription?

13•lgl•2d ago•7 comments

Ask HN: How to Learn C++ in 2026?

14•creatorcoder•3d ago•14 comments

It feels like Claude goes down almost daily now

27•mrprincerawat•1d ago•7 comments

Ask HN: The trickiest bug you've encountered?

4•chistev•8h ago•6 comments

Do you really need an agent?

9•g_br_l•3d ago•7 comments

Tell HN: Godaddy DNS resolution down for 2+ hours

9•codegeek•2d ago•0 comments

You've reached the end!