Dart in WebAssembly
Dart is a programming language designed for client development. The Dart team is actively developing support for Wasm along with the Chrome team’s work on Wasm-GC. The source code for this work-in-process can be found in the Dart SDK repository.
Dart also supports loading and running Wasm modules via package:wasm.
Pros and Cons
We will update this once dart2wasm
has been released.
Examples
We will update this once dart2wasm
has been released.
Learn More
Here are some great resources:
- The Dart2Wasm tool is in the official SDK
- This blog post outlines the efforts to explore Dart and Wasm.
- There is a tracking issue for Dart-to-Wasm work.
- Source code for
package:wasm
. - Flutter now has WebAssembly support for the browser
- There was a great presentation about this at Wasm I/O