Now it's time to apply your knowledge! Since one of WebAssembly's primary design goals is to execute within and integrate well with the existing web platform, it makes sense to build a web application to test it out. Even though WebAssembly's current feature set is rather limited, we can utilize the technology at a basic level. In this chapter, we will build a single-page application from scratch that utilizes Wasm modules within the context of the Core Specification.
By the end of this chapter, you'll know how to:
- Write functions that perform simple computations with C
- Build a basic JavaScript application with Vue
- Integrate Wasm into your JavaScript application
- Identify the capabilities and limitations of WebAssembly in its current form
- Run and test a JavaScript application using browser-sync