Comment on A possible future of Python in the browserparentComments−Buttons8401yI was once hoping that WASM would get direct access to the DOM APIs, but there doesn't seem to be any progress.−mdhb1yI 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 performanceExample of what that looks like here: https://github.com/dart-lang/web/blob/main/web/example/examp...
Comments
I was once hoping that WASM would get direct access to the DOM APIs, but there doesn't seem to be any progress.
I 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/examp...