Re:Go Turns 10
by sanxiyn on Friday November 08, 2019 @10:05PM
(#21489307)
I think it indeed heavily depends on your marginal return in reducing bugs. I agree Rust is unsuitable for most software, because rightly or wrongly, bugs don't matter in most software.
[ Parent
| on HN ]
Re:Go Turns 10
by fauigerzigerk on Saturday November 09, 2019 @03:31AM
(#21490366)
Some of the bugs that Rust prevents do matter in most software but only occur in languages without GC.
In my view, Rust has a good chance of gradually replacing C++, because C++ devs don't shy away from using a large, complex language, and they can appreciate what the borrow checker does for them.
Yeah, that's where I use Rust now, where I previously would have used C or C++ (and if I previously needed C I always used C++ with extern "C".) These are places where I can't use Go because I need a language without a heavy runtime.
I use TypeScript for the browser and React native, because that is much better done in JavaScript land.
For short scripts I use Python.
Everything else I use Go.