News for hackers. Stuff that matters.
Re:Introduction to WebAssembly Components by matei_radu on Friday December 17, 2021 @11:36AM (#29594514)
By default, a WebAssembly module has no access to any host APIs — particularized for the web platform, a running module will have no way of accessing the DOM by default.

When instantiating a module, it can use module imports [1], which can be used to access the DOM through JavaScript calls.

[1]: https://webassembly.github.io/spec/core/syntax/modules.html#...

There are no comments on this comment yet.