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.
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 Dart at Wasm I/O
- In May, 2023, The New Stack ran an article about WebAssembly in Dart 3 and Flutter 3.10