mirror of
https://github.com/dart-lang/sdk
synced 2024-09-05 16:41:07 +00:00
![]() The purpose of the wasm_js_compatibility target is to facilitate experiments with a JS compatibility mode for Dart2Wasm. Initially, we're just going to focus on typed data, but this will give us a place to experiment with moving List and String to JS as well. In addition, someday down the road we hope to experiment with two additional compatibility changes: 1) Exclusively using double for all Dart numbers 2) Allowing undefined to flow as null. The two major benefits of this approach are: 1) Much faster JS interop 2) To make it easier to bring up Dart2JS applications on Dart2Wasm The only downside will be access overhead on the Wasm side, but the JS builtins proposal could potentially bring us close to parity with Wasm builtins someday. Tested: Wasm specific trivial refactor. Change-Id: I2c09426b6999507c1de6e584e9bc7072a088bda9 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/313240 Commit-Queue: Joshua Litt <joshualitt@google.com> Reviewed-by: Ömer Ağacan <omersa@google.com> Reviewed-by: William Hesse <whesse@google.com> |
||
---|---|---|
.. | ||
dart | ||
dart.bat | ||
dart2js | ||
dart2js.bat | ||
dart2js_developer | ||
dart2js_developer.bat | ||
dart2wasm | ||
dart2wasm_developer | ||
run_dart2wasm_d8 |