3 ms·
I was once hoping that WASM would get direct access to the DOM APIs, but there doesn't seem to be any progress.
by Buttons840 2y ago
I was once hoping that WASM would get direct access to the DOM APIs, but there doesn't seem to be any progress.
- mdhb 2y agoI can’t speak to other languages but for Dart specifically this is a non-issue where you can: * use the exact same web APIs as outlined on MDN like you can in JavaScript. * Without having to leave Dart and all of the type safety and tooling you get with that. * while still being able to compile to WASM. * With zero runtime overhead in terms of performance Example of what that looks like here: https://github.com/dart-lang/web/blob/main/web/example/example.dart https://github.com/dart-lang/web/blob/main/web/example/examp...