In this chapter, we covered the overall development workflow when working with WebAssembly. In order to generate our .wasm
files, we're using Emscripten, which requires the installation of the EMSDK. Prior to reviewing any installation details, we discussed the technologies under the hood and described how they relate to each other and to WebAssembly. We covered each of the steps required to get EMDSK working locally on your computer. The installation process for the EMSDK on each platform was presented, as well as the installation and configuration instructions for the EMSDK. After installing the EMSDK , we tested the compiler (no to). That was the emcc
command we ran in the previous section. Using theemcc
command on a simple C code file to ensure Emscripten was working correctly. In the next chapter, we'll walk through the process of creating and loading your first module!