Email or username:

Password:

Forgot your password?
Top-level
Jeff KC1PYT

@mjgardner @Perl @shiar Yes, *eventually* I expect just about everything to get ported to it. Correct me if I'm wrong, but the hold up is there is no generalized mechanism to access the DOM from WASM, right?

So stuff has to run WASM, then spawn JS (expensive) and then make API calls to JS to interact with the DOM. Stop me if I'm wrong.

2 comments
Mark Gardner

@KC1PYT @Perl @shiar I don’t have any direct #Wasm experience so I can't confirm or deny without doing the same research as anyone else. Maybe somebody receiving these group messages can opine.

gram

@mjgardner @KC1PYT @Perl @shiar

Without reading the whole thread, yes, any calls from wasm to WebAPI have to go through the host environment (JS). It's not too slow in practice but could be much better considering that wasm is generally faster than JS.

Also, you'll need to provide a small JS bridge, like what Go has:
github.com/golang/go/blob/mast

Go Up