4 ms·
They had their chance, but they turned it down at that time by failing to include a Dart VM in Chrome, whose browser engine had 30% of PC and mobile marketshare
by qball 4y ago
They had their chance, but they turned it down at that time by failing to include a Dart VM in Chrome, whose browser engine had 30% of PC and mobile marketshare at the time.
However, now Chromium-derived browsers have 90% PC marketshare and 50% mobile marketshare. Including a Dart VM now, provided its standard library and tooling are up to par, would almost certainly spell the end of JavaScript.
Yeah, it'd still have to transpile to JS so that iOS users can still use the site, but Safari would be the only holdout. Unless MS strips the Dart VM from Chromium, which they honestly might do, but at that point people just go back to replacing Edge with Chrome, not that they don't by a large margin already.
- jemmyw 4y ago> would almost certainly spell the end of JavaScript We'd all give up all the code we've already written and never update our current or legacy JavaScript codebase again? I just don't think it'd happen, people need a more compelling reason to switch. Typescript merging into js seems a more likely sea change.
- hdjjhhvvhga 4y ago> would almost certainly spell the end of JavaScript. No, it would just make many people interested in Dart and start using it, but the end of JavaScript would be as close as the end of C++ or Java.