3 ms·
One of the big attractions for Dart is that it compiles to native ARM code on iOS and Android, compiles to Intel code for (today's) desktop platforms, and trans
by timsneath 6y ago
One of the big attractions for Dart is that it compiles to native ARM code on iOS and Android, compiles to Intel code for (today's) desktop platforms, and transpiles to JavaScript for the web. There are other high-level languages that support _some_ combination of these targets, but often there are significant differences between implementations (e.g. not all are of production-quality, differences in memory management or threading approaches, inconsistencies in implementation or APIs).
- markdog12 6y agoTo be picky, and for those reading, Dart no longer uses the same "threading" approaches. Dart 1 used Isolates for the vm and web. Dart 2 uses Isolates for vm, aot, but web workers for the web. Of course with Dart 1 it compiled to web workers, but had the same Isolate abstraction. Unfortunately, the Dart web worker implementation isn't very convenient and I think some work could be done there to make it nicer to use. It's a very important use case for today's devices.