4 ms·
We're not using Dart commercially currently; though we are prototyping in it as a candidate for vNext of some very large applications. To me, it seems incredibl
by d2p 12y ago
We're not using Dart commercially currently; though we are prototyping in it as a candidate for vNext of some very large applications. To me, it seems incredibly promising. Every time I have to go back and write JS in our production apps; I seriously miss the static analysis Dart does; it's so clunky to find trivial errors at runtime in a browser that the editor should've been able to show you!
However; there are some frustrating holes in it though that have made our prototyping tricky; such as:
Serialisation; not even JSON support. Alan Knight is working on a Serialisation library; but even that is frustrating to use (it doesn't support DateTimes at all well for ex), so I'm generating having to generate serialisation code from C#.
No private pub server. If you want to host Dart packages internal to your company locally; you're out of luck. Although the source for pub.dartlang.org is open; it's written to only work on AppEngine; which kinda sucks.
We're also slightly nervous that the Dart VM still isn't in Chrome. I don't know what's taking so long, but this would seriously help convince others that Google is really invested in Dart.
- xxgreg 12y ago> No private pub server. If you want to host Dart packages internal to your company locally; you're out of luck. You can store packages on a private git server, see the pubspec.yaml docs here: https://www.dartlang.org/tools/pub/dependencies.html#git-packages https://www.dartlang.org/tools/pub/dependencies.html#git-pac... It is also possible to run your own private pub server. But currently the only available implementation relies on AppEngine. According to the author it's possible to just implement the fetch protocol using static files served over HTTP. I.e. create some directories and put the json and tar.gz files in the correct places. https://www.dartlang.org/tools/pub/dependencies.html#hosted-packages https://www.dartlang.org/tools/pub/dependencies.html#hosted-... https://github.com/dart-lang/pub-dartlang/ https://github.com/dart-lang/pub-dartlang/