Re:Ask HN: Is it worth investing in learning Rust?
by rhodysurf on Monday June 11, 2018 @06:51AM
(#17283228)
I write modern C++ as my day job and work on mobile apps in swift/objc/kotlin/dart, and services in python for fun on the side.
I don’t know if it’s just cuz I code modern C++ so much, but I’ve learned to love c++, even when compared to much easier and theoretically more productive languages like swift and kotlin.
Just my opinion (given my own experience and goals; if your experience/goals are different the below may be irrelevant):
As a constant waverer, my answer to the "Go or Rust" question was, after much time, "no".
Instead I'm returning to C++ and trying to learn how to use modern C++ idioms and finding this very productive.
It's a bit frustrating, as C++ is a bloated mess of a language with way too many dark corners, but good discipline can allow you to use a version of it that is really nice. As someone who learned C++ in 1992 (when much of the language wasn't even really there yet) and has only fitfully engaged with good C++ practices over the years, the payoff from learning new parts of C++ has been really much better than a new language.
Plus, neither Rust nor Go are particularly mind-expanding if you're a native C++ speaker (as compared to Python, Prolog, Forth, assembly, Haskell, Lisp, ...).