Chapter 7. Dynamic linking: The basics
This chapter covers
- How dynamic linking works for WebAssembly modules
- Why you might want to use dynamic linking and why you might not
- How to create WebAssembly modules as main or side modules
- What the different options are for dynamic linking and how to use each approach
When it comes to WebAssembly modules, dynamic linking is the process of joining two or more modules together at runtime, where the unresolved symbols from one module (functions, for example) resolve to symbols existing in another. You’ll still have the original number of WebAssembly modules, but now they’re linked together and able to access each other’s functionality, as figure 7.1 shows.
Figure 7.1. At runtime, the logic from one ...
Get WebAssembly in Action now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.