Hacker News new | past | comments | ask | show | jobs | submit login

Is there still people willing to use Dart instead of Javascript for web now? (no irony)



Yes. For some use cases the speed of development and rapid prototyping is worth it.


...but there are unavoidable severe limitations like slow js interop, large file size and poor browser compatibility.

Its really only plausible for very specific project where these arent issues.


Dead code elimination and minification do a good job of reducing Dart2js file size. Dart converted to JavaScript works on IE9 and above and all other modern browsers. JsInterop is done through port send and recieve, so if you need to make a lot of those calls it is potentially slow, but if not, for example I'm making one call to PDF.JS, it works beautifully. Dart's real problem in my opinion is that many 10's (100's?) of nifty JavaScript libs are written everyday that won't work well with Dart. The JavaScript ecosystem just keeps getting better, while the Dart ecosystem plays catchup. Because of this I use TypeScript for some projects.


i was just downloading the sublime package to read Dart and was surprised to see the number of downloads going up as time goes by..

https://sublime.wbond.net/packages/Dart

Not any serious metric of course.. but a good thing anyway.. measuring technology adoption is hard and tend to give us imprecise metrics :/




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: