3 ms·
>specifically in terms of threading, native interop, value types, etc. AFAIK the VM they are working on for mobile has green threads (aka. isolates), value typ
by moonchrome 11y ago
>specifically in terms of threading, native interop, value types, etc.
AFAIK the VM they are working on for mobile has green threads (aka. isolates), value types are irrelevant at this level of coding and interop is arguably better than standard FFI with their IDL/IPC system.
It's actually a perfect frontend language where you delegate stuff where you care about threads/memory layouts/performance/etc. to native code in whatever language that has bindings for their IDL.
TypeScript, Flow, etc. are JS type systems - Dart is a programming language - it's superior to JS in that it has sane semantics and standard library/collections, etc. It also has stuff like async/await shipping for a long time now (still not in TS official).