Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: