Skip to content

Comment on A possible future of Python in the browserparent

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

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.