TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Rust developers at Google are twice as productive as C++ teams

35 pointsby kelthuzadabout 1 year ago

5 comments

gnabgibabout 1 year ago
Previous discussion: [0](56 points, 3 days ago, 32 comments)<p>[0]: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=39851872">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=39851872</a>
评论 #39887862 未加载
patrick451about 1 year ago
There is a large difference in churning out code for a new project compared to trying to add a feature to a 20 year old codebase.
dureuillabout 1 year ago
As personal anecdata, this checks out.<p>10 years C++, mostly C++11 once it started to exist and be available.<p>After a few years of Rust on the side, I was x2 to x3 more productive in Rust than in C++.<p>I regularly think that the way I express code in Rust would be very tedious to do in C++. The ingredients of the magic recipe are:<p>- Proper sum types (Rust&#x27;s enum)<p>- Exhaustive pattern matching, destructuring, the initialization syntax<p>- The expression-orientedness<p>Other things that make working with Rust comparatively a joy:<p>- 99.9% of the time, no need to hunt for UB during reviews<p>- quality and &quot;standard-ness&quot; of the tooling: rustfmt, rustdoc, clippy, cargo
nottorpabout 1 year ago
Rust just hasn&#x27;t expanded enough yet :)
评论 #39893997 未加载
candiodariabout 1 year ago
So we can expect another round of layoffs?