Skip to content
Discussion options

You must be logged in to vote

Loading another wasm module is complicated by several facts presented by wasm and ABI concerns that are currently very hard to work around.

  1. While it is theoretically possible to load two wasm modules to share a common memory space, this is not well supported by build tools. Usually you get javascript wrapping code that has instantiates individual memory instances. The main reason for this is the lack of support for dynamic linking. As a consequence, these different modules will have to explicitly communicate by message passing. This compounds with
  2. You might expect a compiled module/component to be loadable from your app component even if these were compiled with different compiler versio…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Nebdir
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants