Re:Go and Simplicity Debt Redux
by geodel on Sunday June 18, 2017 @06:57PM
(#14583457)
"Google language" is Dart and it does have generics. So low conceptual barrier seems reasonable reason for success. Rust does have all features you listed and of course generics. Both started around 2009 so it is about same age as Go but not as popular among developers.
[ Parent
| on HN ]
>"Google language" is Dart and it does have generics.
Only Google never made a good job at promoting it, and it's a dynamic language meant as a better-JS, so not the same market as Go.
>Rust does have all features you listed and of course generics. Both started around 2009 so it is about same age as Go but not as popular among developers.
Rust took until 2-3 years ago to finalize its design and be stable. Go was already stable for years by that point.
And Rust comes with an uncommon, and hard to grasp at first, memory management model which stops many in their tracks -- it's not the presence of generics (or traits, or option types or whatever) that's the issue.
I like programming in Go, but I don't understand the downvote on your comment. And I agree that Rust adoption is slowed more by the memory management model than type parametricity.
There are other factors, like Go compiles to bare metal while Dart was targeted to replace JavaScript on the web, which is pretty much impossible.
Additionally Dart was betrayed by Google's own teams that decided to invest in TypeScript instead.