Online tooling
The installation and configuration process for compiling WebAssembly modules locally is, admittedly, a little cumbersome. Fortunately, there are several online tools available that allow you to develop and interact with WebAssembly in the browser. In this section, we'll review those tools and discuss the functionality each one provides.
WasmFiddle
In the Connecting the dots with WasmFiddle section in Chapter 2, Elements of WebAssembly- Wat, Wasm, and the JavaScript API, we used WasmFiddle to compile a simple C function to Wasm and interact with it using JavaScript. WasmFiddle provides a C/C++ editor, JavaScript editor, Wat/x86 viewer, and JavaScript output panel. You can also interact with the <canvas>
if desired. WasmFiddle uses LLVM to generate the Wasm modules, which is why the imports and exports aren't prefixed with a _
. You can interact with WasmFiddle at https://wasdk.github.io/WasmFiddle.
WebAssembly Explorer
WebAssembly Explorer, located at https://mbebenita.github...