14 ms·
> Why they didn't just choose Typescript or go with native javascript is beyond me. They needed to be AOT compiled. Can't ship a JIT on iOS, after all. And JS
by kllrnohj 8y ago
> Why they didn't just choose Typescript or go with native javascript is beyond me.
They needed to be AOT compiled. Can't ship a JIT on iOS, after all. And JS is very unfriendly to static compilation. Dart is considerably better suited for AOT due to static typing.
There are other languages that are GC'd & AOT friendly, though, so I can't help you with why they didn't use any of those, though. But why they wouldn't use JS is pretty straightforward.