Re:Write in JavaScript, Render in Flutter
by flutterwascrap on Sunday September 19, 2021 @02:32AM
(#28582168)
It started out as a compile to js language (think coffeescript), then they created a vm for it. Google made dart so that they wouldn't have to directly compete with react native/cordova.
[ Parent
| on HN ]
Re:Write in JavaScript, Render in Flutter
by murderfs on Sunday September 19, 2021 @02:57AM
(#28582263)
That's actually the exact opposite of reality: Dart was a retention project for Lars Bak, and it was designed specifically with a focus on being able to make a fast VM implementation. The goal from the beginning was to have native support in browsers (they even got an ECMA standard for it!), and support compile-to-js as a polyfill until browsers had native support, but they couldn't convince any of the other vendors and so not even Chrome supported it. Some time after that, Lars Bak left Google.