List of Listings
Chapter 3. Creating your first WebAssembly module
Listing 3.1. The main function in calculate_primes.c
Listing 3.2. Code in calculate_primes.c
Listing 3.3. The HTML for js_plumbing.html
Listing 3.4. The JavaScript to load and instantiate side_module.wasm
Listing 3.5. An HTML page for the WebAssembly module named side_module.html
Chapter 4. Reusing your existing C++ codebase
Listing 4.1. ValidateName function in validate.cpp
Listing 4.2. The ValidateCategory function
Listing 4.3. HTML of the Edit Product page (editproduct.html)
Listing 4.4. The onClickSave function in editproduct.js
Listing 4.5. The validateCategory function in editproduct.js
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.