9 comments

[ 2.0 ms ] story [ 13.9 ms ] thread
Previous discussion: [0](56 points, 3 days ago, 32 comments)

[0]: https://news.ycombinator.com/item?id=39851872

Flagged for some reason.
Sadly some think Flagging is for stuff they don't agree with.

From the guidelines: "Please don't complain that a submission is inappropriate. If a story is spam or off-topic, flag it. Don't feed egregious comments by replying; flag them instead. If you flag, please don't also comment that you did."

Even more sad is that is still flagged...

Rust just hasn't expanded enough yet :)
You could have a valid point. It's a bit like the "people using two monitors are more productive" meme again...
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.
So we can expect another round of layoffs?
As personal anecdata, this checks out.

10 years C++, mostly C++11 once it started to exist and be available.

After a few years of Rust on the side, I was x2 to x3 more productive in Rust than in C++.

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:

- Proper sum types (Rust's enum)

- Exhaustive pattern matching, destructuring, the initialization syntax

- The expression-orientedness

Other things that make working with Rust comparatively a joy:

- 99.9% of the time, no need to hunt for UB during reviews

- quality and "standard-ness" of the tooling: rustfmt, rustdoc, clippy, cargo