Guy Bedford
Guy Bedford
I realise the above is somewhat off-topic here, if it's already discussed / answered elsewhere please let me know. Happy to move this point to a separate issue as well.
For the module target, it's looking very likely at this point that Web Assembly will be determined by the `Content-Type` MIME response when using ``. So the detection of BinaryAST...
In the scenario where there are modules used by both the main thread and by the module workers, it would be nice to have ways of sharing the compilation work,...
Perhaps the confusion here is the async execution of Wasm resulting in these objects being initialized after a tick as @xtuc says. Note this is the reason that top-level await...
Interesting questions. When you mention JS modules as well in terms of privilege management, this may also relate to the [isolated scopes](https://github.com/guybedford/import-maps-extensions#isolated-scopes) proposal for restricting import capabilities.
There are requirements on the ESM integration implied by https://github.com/WebAssembly/component-model/pull/6. Will extending the ESM integration to support components be considered a follow-up proposal or part of this main ESM integration...
The current directions seem to be to have WASI modules export the memory and have the "main" run on import, but my concern is that while this makes complete sense...
@tschneidereit thanks so much for those links. Having runtimes being able to distinguish memory handling as well as Command or Reactor WASI modules, and handling the initialization appropriately sounds very...
Node.js has set up a fork for WASI development in https://github.com/nodejs/wasi/. This fork is open to collaboration and PRs, which may be a useful incubator for ESM integration proposals related...
@alexisvincent this is a critical project for SystemJS going forward, especially since it allows hot reloading workflows for Rollup build workflows (https://github.com/rollup/rollup/issues/50#issuecomment-269240027). Ideally such workflows can be refined to work...