4 ms·
Is there still people willing to use Dart instead of Javascript for web now? (no irony)
by oscargrouch 13y ago
Is there still people willing to use Dart instead of Javascript for web now? (no irony)
- michaelwww 13y agoYes. For some use cases the speed of development and rapid prototyping is worth it.
- shadowmint 13y ago...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.
- michaelwww 13y agoDead 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.
- oscargrouch 13y agoi 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 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 :/