Part 3. Advanced topics

 

Now that you know the basics of creating and working with WebAssembly modules, this part of the book looks at ways to help you reduce download sizes and improve reusability, take advantage of parallel processing, or even use your WebAssembly modules outside a web browser.

Chapter 7 introduces you to the basics of dynamic linking, in which two or more WebAssembly modules can be linked together at runtime to use each other’s features.

Chapter 8 expands on what you learned in chapter 7, teaching you how to create multiple instances of the same WebAssembly module and have each instance dynamically link to another WebAssembly module on-demand.

In chapter 9, you’ll learn how to prefetch WebAssembly modules as needed using web workers. You’ll also learn how to perform parallel processing using pthreads in a WebAssembly module.

Chapter 10 demonstrates that WebAssembly isn’t limited to a web browser. In this chapter, you’ll learn how to use several of your WebAssembly modules in Node.js.