Calling compiled C/C++ functions from JavaScript

Calling functions from a Wasm instance is a relatively straightforward process with or without Emscripten's glue code. Utilizing Emscripten's API affords a wider range of functionality and integration at the expense of including the glue code alongside the .wasm file. In this section, we will review the means of interacting with the compiled Wasm instance through JavaScript and the added tooling Emscripten provides.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset