3 ms·
Going with Dart gave flutter - complied to machine code - fast GC - stateful Hotreload, a feature of the Dart vm use in dev builds. My understanding is Dart or
by sebe 8y ago
Going with Dart gave flutter
- complied to machine code
- fast GC
- stateful Hotreload, a feature of the Dart vm use in dev builds.
My understanding is Dart originally started out with a vm along with a Dart-to-JavaScript compiler. The Dart team was also doing their own experiments in the iot and ios space.
Flutter, at that time it was call the Sky project/experiment, looked at several languages before give dart a go.
Apple only allows their JS VM on ios.
The nature of flutter, creating and discard many objects per frame, required a fast GC.
The hotreload feature was one the Flutter team didn't know they wanted, it was a suggestion from the Dart team.
So the Dart Team was able to meet flutters needs of creating a fast GC and being able to be compiled to machine code for ios and android as well.