Re:The Go Programming Language and Environment
by tomcam on Tuesday May 31, 2022 @05:38AM
(#31567573)
Then why is Dart much less successful?
[ Parent
| on HN ]
Re:The Go Programming Language and Environment
by pornel on Tuesday May 31, 2022 @09:04AM
(#31569012)
Go filled a niche that wasn't served well: network services with performance/capabilities exceeding scripting languages. Back then the other options were mainly Java, JVM-based niche languages, or C++ — each with its own problems and detractors. Server-side switching costs are low: if it can talk HTTP, you can use it.
Dart was meant to be a better JavaScript, but the barrier to entry for a new browser-native language is impossibly high: it needs consensus of all browser vendors plus a decade for all users to upgrade. Dart made a fatal mistake of betting on having a brand new browser VM instead of being a good compile-to-JS language. In the meantime, JS itself has improved (ES5, ES6), and TS has been designed for being a first-class JS compilation target. The "better JS" niche has been filled by JS.
Re:The Go Programming Language and Environment
by JavaOnlyGuy on Tuesday May 31, 2022 @05:50AM
(#31567656)
Because it's selling point is Flutter? Where you're forced to use Dart?
Re:The Go Programming Language and Environment
by frou_dh on Tuesday May 31, 2022 @01:50PM
(#31572576)
Dart had quite a long history before Flutter even came into the picture. Flutter is the answer to the question of why is Dart somewhat relevant today, but not to the question of why Dart didn't take off in general during its first 5 or so years, despite the fanfare of coming from Google.
Re:The Go Programming Language and Environment
by pjmlp on Wednesday June 01, 2022 @04:26AM
(#31579425)
Microsoft, Apple and Mozzilla did't felt like integrating DartVM on their browsers, that is why.
Its