3 ms·
It compiles to JavaScript. The VM and dart2js are MIT licensed. It's not the same situation.
by limsup 13y ago
It compiles to JavaScript. The VM and dart2js are MIT licensed. It's not the same situation.
- spankalee 13y agoAnd Dart is not a plugin, it gives you the whole DOM (though a _much_ improved API), unlike Silverlight, ActiveX, Flash, Java or any other plugin.
- threeseed 13y agoAnd who is responsible for keeping the DartVM/Dart2JS behaviour in sync ? Google being the ONLY committers don't exactly have a motivation to.
- dragonwriter 13y agoDart2JS will be the key thing that drives Dart adoption. So, yeah, Google has a motivation to keep it up to date.
- gress 13y agoOnly until there is enough adoption for them to stop caring.
- lttlrck 13y agoIf there is that much adoption then the onus will be on Mozilla, Apple and Microsoft etc to step up and accept the will of web developers. Edit: and push for standardization.
- andyl 13y agoThen get left in the dust as Chrome takes advantage of undocumented features. We've seen that game before, played by microsoft. Other browser vendors know this: Dart is never gonna fly outside of Google's walled garden.
- gress 13y agoIt may not have to if Google can get (or has already) enough Chrome penetration.
- dragonwriter 13y agoIf there's enough adoption, then I'd expect other browser developers either to build their own Dart runtimes, or -- since its free -- use or fork Google's. And, then, sure, Dart2JS stops being important to Google because its unimportant to how Dart code performs on the web. But its unimportant to Google because its unimportant to anyone, since it won't matter to users, either.
- skybrian 13y agoGoogle web developers who want to deploy their apps need to use dart2js. Google web developers need to make sure their apps work in all modern browsers. If the Dart team wants to promote adoption even within Google (and they do) they need to support all modern browsers. Dartium and dart2js already aren't quite in sync; numeric types work differently for example. But they're close enough that for most apps, you can develop in Dartium and deploy on dart2js and the language differences don't really bother you. The language differences between Dart-in-JavaScript and Dart-in-Dartium are a lot less than the differences between browsers that web developers deal with all the time.