Hacker News new | ask | show | jobs
by andenacitelli 733 days ago
I think Rust only really shines when you factor in the longer-term lifetime (pun unintended) of the code. If you’re just focused on how much time it takes to get something working — in other words, a PoC / MVP — it doesn’t seem surprising to me that it’s significantly slower.

The promise to me lies in the entire classes of errors you systemically prevent from happening (given no unsafe code) and just generally how much easier it is to write maintainable and bug-free code.

These mechanisms are part of a very broad set of tooling that slows you down short-term but pays off in huge quantities over any even medium-term timeframe in an actual business product intended to be long-living.

Granted, Rust has its tradeoffs just like any other language — from what I hear, refactoring and fighting the compiler in certain domains like gamedev gets annoying — but it seems much more positive than negative.