Chapter 10. WebAssembly modules in Node.js
This chapter covers
- Loading a WebAssembly module using Emscripten’s generated JavaScript code
- Using the WebAssembly JavaScript API to load a WebAssembly module
- Working with WebAssembly modules that call into JavaScript directly
- Working with WebAssembly modules that use function pointers to call into JavaScript
In this chapter, you’ll learn how to use WebAssembly modules in Node.js. Node.js has some differences compared with a browser—for example, having no GUI—but, when working with WebAssembly modules, there are a lot of similarities between the JavaScript needed in a browser and in Node.js. Even with these similarities, however, it’s recommended that you test your WebAssembly module in Node.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.