3 ms·
Why doesn't Google include the native Dart VM in Chrome? I think it would boost it's usage significantly. Maybe I'm missing a bigger picture.
by tzaman 13y ago
Why doesn't Google include the native Dart VM in Chrome? I think it would boost it's usage significantly. Maybe I'm missing a bigger picture.
- dragonwriter 13y ago> Why doesn't Google include the native Dart VM in Chrome? Probably because Dartium (Chome w/Dart) doesn't yet have the kind of performance advantage that makes it compelling enough to split the web that way -- making developers use dart2js for client code means that you don't need separate client code for Chrome (Dart) and everyone else (JS) -- and needing to commit to extended support of two different scripting runtimes in Chrome for the future.
- afsina 13y agoThey need make some changes in Chrome for doing this right. They aim to make DOM nodes garbage collectible with project oilpan [1] AFAIK. Both Dart and V8 VM will benefit from this. So this will take some time. But Dart is already very useful with Dartium for development and Dart2Js for deployment. [1] https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/V1vJmirHUGE/discussion https://groups.google.com/a/chromium.org/forum/#!topic/blink...
- kyrra 13y agoThis is exactly the issue. They are working on an experimental solution to let garbage collection happen for DOM nodes that are created from Dart or V8. This basically requires a rewrite of the memory management of DOM nodes. This is still very much a work in progress and not ready for prime time. The solution the team uses for Dartium is not the same as what they want to do for the shipping version of Chrome, so it'll be a bit before that's ready.