Summary

In this chapter, we focused on the intercommunication of JavaScript and C/C++, some of the features Emscripten offers, and how to effectively debug web applications that utilize Wasm in the browser. We reviewed the various means of calling compiled C/C++ functions from JavaScript, and how to integrate JavaScript with your C/C++ code. Emscripten's APIs were presented as a way to understand how you can overcome some of WebAssembly's current limitations by including glue code with your compiled Wasm files. Even though the capabilities Emscripten provides are not present in the official WebAssembly Core Specification (and may never be), that shouldn't deter you from taking advantage of them. Finally, we briefly covered how to debug Wasm files in the browser in the context of an Emscripten module or a WebAssembly instance.

In the next chapter, we'll build a real-world WebAssembly application from scratch.

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

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