2 ms·
> on web Does it stranspile to JavaScript, or compile to asm, or something else entirely?
by berkes 5y ago
> on web
Does it stranspile to JavaScript, or compile to asm, or something else entirely?
- devxpy 5y agoTranspile to Javascript https://dart.dev/overview#platform https://dart.dev/overview#platform
- _delirium 5y agoIt compiles to JS: https://dart.dev/tools/dart2js https://dart.dev/tools/dart2js The Dart team is investigating a dart-to-wasm compiler, but is waiting on the Wasm GC proposal to be standardized: https://medium.com/dartlang/experimenting-with-dart-and-wasm-ef7f1c065577 https://medium.com/dartlang/experimenting-with-dart-and-wasm...
- serial_dev 5y ago> Dart supports the web as one of its core platforms. Dart-to-JavaScript compilers are available both for development and for production. You can learn more about the status quo here https://dart.dev/web https://dart.dev/web Compiling to WASM is on the roadmap https://github.com/flutter/flutter/wiki/Roadmap#dart https://github.com/flutter/flutter/wiki/Roadmap#dart > Dart (...) We also plan to expand Dart's compilation toolchain to support compiling to Wasm, contingent on the timely standardisation of WasmGC.