June 2021
Intermediate to advanced
304 pages
7h 49m
English
In this chapter, we’ll dive into the basics of WAT code. We’ll write most of the code in this book in WAT, the lowest level of programming you can write for deployment to WebAssembly (although for experienced assembly coders, it might seem rather high level).
This chapter covers a lot of ground. We’ll begin by showing you the two comment styles in WebAssembly. Next, we’ll write the traditional hello world application. We don’t start with hello world because working with strings from within WAT is more challenging than you might expect.
Then we’ll discuss how to import data from JavaScript into our WebAssembly module ...
Read now
Unlock full access