News for hackers. Stuff that matters.
Re:Why I'm joining the Dart Team by apo on Saturday January 09, 2016 @03:18PM (#10872705)
Tried Dart a while back and really liked the language.

But I found the emphasis on Dart's use as an application building language didn't fit my use case very well - compiling JavaScript libraries.

In short, I wanted to use Dart as a cleaner replacement for the Closure libraries and compiler. It didn't work well. Not only was the JavaScript quite large, but exposing APIs was a time-consuming manual process.

I noticed the change of focus to using Dart as a language that transpiles to JavaScript for in-browser use. That sounds like what I'm looking for.

When will it be possible to use Dart to conveniently create minified JavaScript libraries that expose well-defined interfaces?

Re:Why I'm joining the Dart Team by munificent on Monday January 11, 2016 @12:16PM (#10881684)
I can't give you any time estimates, but what you're asking for is exactly what the team has in mind with "DDC", the new Dart -> JS transpiler[1].

It produces much cleaner, more readable JS and is designed to make it much easier to interop with JS code in both directions.

[1]: https://github.com/dart-lang/dev_compiler