--
For other discussions, see https://groups.google.com/a/dartlang.org/
For HOWTO questions, visit http://stackoverflow.com/tags/dart
To file a bug report or feature request, go to http://www.dartbug.com/new
To unsubscribe from this group and stop receiving emails from it, send an email to misc+uns...@dartlang.org.
Doesn't dart2js require the Dart VM?
I don't know about ChromeOS, but Windows it looked like was running "pub serve" too; but that would likely also need the VM?
(I guess if dart2js works as advertised, they could've dart2js'd dart2js and pub, but that seems a bit crazy).
--
For other discussions, see https://groups.google.com/a/dartlang.org/
For HOWTO questions, visit http://stackoverflow.com/tags/dart
To file a bug report or feature request, go to http://www.dartbug.com/new
To unsubscribe from this group and stop receiving emails from it, send an email to misc+uns...@dartlang.org.
Thanks for the info, makes sense now!
I'll play around more on Windows to see the limitations.
On Windows I need to run "pub get" manually; how does this work on ChromeOS?
--
For other discussions, see https://groups.google.com/a/dartlang.org/
For HOWTO questions, visit http://stackoverflow.com/tags/dart
To file a bug report or feature request, go to http://www.dartbug.com/new
To unsubscribe from this group and stop receiving emails from it, send an email to misc+uns...@dartlang.org.
You can right click on the pubspec.yaml file to get a popup menu, and then click on pub get.Again, this should work on Windows as well.

--
For other discussions, see https://groups.google.com/a/dartlang.org/
For HOWTO questions, visit http://stackoverflow.com/tags/dart
To file a bug report or feature request, go to http://www.dartbug.com/new
To unsubscribe from this group and stop receiving emails from it, send an email to misc+uns...@dartlang.org.
I was not sure aware of that issue, since I'm running it on Linux/ChromeOS.I tested it and can confirm that it works as expected on my Chromebook. It doesn't like when projects are on Google Drive so I have to keep things in my Downloads folder.
--
It's not crazy and that's exactly what they have done. They've bootstrapped dart2js and pub.Both are written in Dart, compiled to js with dart2js and included as js code in chrome Chrome Dev Editor app.
Actually CDE is not applicable for developing with dart, because CDE"s performance is very poor and polymer applications don"t work at all with CDE.In my opinion Windows and Linux are the best options for developing dart applications. I tried OS X, Linux, Windows and Chrome OS.Chrome Books are very cool, if you are using the internet. Even simple office tasks can be easily done with them. I use it for example to participate in this blog. It is booting within a few seconds, but it is not suitable for development. Maybe this will change in the near future.
This is mostly correct. dart2js can indeed bootstrap itself, which is what you see when you go to try.dartlang.org. CDE is using that too. Most of pub can be compiled to JS as well. However, pub heavily uses "dart:io" and those pieces don't have a JavaScript counterpart. The CDE folks have re-implemented those parts from scratch on top of the browser API. They have a Dart (maybe JS?) implementation of Git, file IO, networking, etc.It's not crazy and that's exactly what they have done. They've bootstrapped dart2js and pub.Both are written in Dart, compiled to js with dart2js and included as js code in chrome Chrome Dev Editor app.
Are there any (known/public) plans to address this duplicated effort?
It seems silly if dart:io has file IO and then people are implementing their own for Chrome extensions; is Dart missing a feature that allows a single API that can have different implementations depending on the runtime it's running in? (I appreciate this might not be trivial, especially with dart2js, but that doesn't make it any less interesting! :))
It seems silly if dart:io has file IO and then people are implementing their own for Chrome extensions; is Dart missing a feature that allows a single API that can have different implementations depending on the runtime it's running in? (I appreciate this might not be trivial, especially with dart2js, but that doesn't make it any less interesting! :))
This has been an ongoing discussion for several years. We still don't have a solution, but we are, I hope, finally starting to get some traction on it. I don't have any details yet, though, nor a timeframe.
--
Yes. They have some js bootstrapping code and dart2js, dartanalyzer, and pub are all run as javascript. As such it is pretty slow at those things.
Dart is still no match for Java/C++
and the DOM is a performance hog when compared to native UIs.
I don't expect it to rival the Dart Editor, Sublime, etc ... any time soon.
The keyword is Oilpan. Chrome still needs a lot of work for that to happen (so does Dart).
CDE will get faster on Dart, but how much? And will it be enough? Dart is still no match for Java/C++ and the DOM is a performance hog when compared to native UIs.I don't expect it to rival the Dart Editor, Sublime, etc ... any time soon.
Oilpan sounds interesting; but the design doc suggests it's more about improving code maintainability; I can't see a lot of info on performance - is it intended to have a big impact?
As I understand it it is a prerequisite for supporting a 2nd script language in Chrome.
Currently (though only just started) the performance is on par or in some cases drastically worse than the current memory collection. However, that said, Oilpan will do more than just code maintainability. In particular it will much easier access to DOM Objects by multiple VMs simultaneously. It will increase the security to reduce likelihood of trying to access elements which were freed by one VM but still in use by another. This is why Dartium is for development only and not recommended for daily usage. It is unstable and potentially insecure when working in multi-vm cases.
CDE will get faster on Dart, but how much? And will it be enough? Dart is still no match for Java/C++ and the DOM is a performance hog when compared to native UIs.I don't expect it to rival the Dart Editor, Sublime, etc ... any time soon.
I don't know how old you are, but editors on the Z80 (WordStar) worked speedily enough.