Building the C portion

The C portion of the application will aggregate transaction and category amounts. The calculations we perform in C could be done just as easily in JavaScript, but WebAssembly is ideal for computation. We'll dive deeper into more complex usage of C/C++ in Chapter 8Porting a Game with Emscripten, but for now we're trying to limit our scope to what can be done within the confines of the Core Specification. In this section, we'll write some C code to demonstrate how to integrate WebAssembly with a web application without the use of Emscripten.

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

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