Forget toy examples; learn to compile real-world software to WebAssembly.
Port C/C++ tools to the browser, including jq, awk, and coreutils.
Port games like Pong, Tetris, and Pacman to the web.
Run WebAssembly on the cloud, in serverless functions.
Run WebAssembly modules in threads using WebWorkers.
Process user files in your apps using virtual file systems.
Recognize use cases where WebAssembly shines.
Not convinced? Check out a book sample
or the table of contents.
WebAssembly is constantly evolving and it can be hard to find concise and up-to-date information to learn how to wield its awesomeness. Level Up with WebAssembly was the tl;dr I was looking for.
When I joined the Chrome WebAssembly team as their Product Manager and needed to get up to speed on using WebAssembly, I used this book. I had a complex codebase that I wanted to bring to the web and I directly used the examples in this book to successfully accomplish the port.
The book is concise, example-packed, and implementation-oriented. The book shows approaches that have worked but also those that have failed, possibly saving developers time by avoiding dead ends.
My personal favorite is porting a C++ Pacman clone to the browser:
Port command-line tools like diff
, and use them in your web apps!
(included in the Complete Edition package)
In the Capstone project, you'll build a web app that
clusters data points, and plots the results interactively:
(included in the Complete Edition package)
awk
, diff
and coreutils tools such as cut
, sort
and uniq
!
See team discounts here.