Skip to Content
WebAssembly: The Definitive Guide
book

WebAssembly: The Definitive Guide

by Brian Sletten
December 2021
Intermediate to advanced content levelIntermediate to advanced
332 pages
8h 36m
English
O'Reilly Media, Inc.
Book available
Content preview from WebAssembly: The Definitive Guide

Appendix. Installing WebAssembly Tools

Technology is nothing. What’s important is that you have a faith in people, that they’re basically good and smart, and if you give them tools, they’ll do wonderful things with them.

Steve Jobs

It is unsurprising, given all of the languages, tools, and frameworks that we discuss in this book, that there is a fair amount to install. This appendix will not be comprehensive, but will try to point you in the right direction to getting everything going. Some of the tools are easier to install on Linux or macOS, but most should work on Windows too.

Installing WebAssembly Binary Toolkit (WABT)

The WebAssembly Binary Toolkit (WABT) provides a suite of tools for converting things to and from the various formats we have discussed as well as several others. It includes tools for dumping out details about the modules, validating their structures, and more.

There are quite good instructions on the GitHub repo for building on all three major operating systems, so there is no point in replicating that here. The repo is located here: https://github.com/WebAssembly/wabt

One thing I did want to point out was that some of the tools are also available online. It shouldn’t be too surprising that WebAssembly tools might also run in the browser. If you want to try converting formats without installing the tools, you can try them out here: https://webassembly.github.io/wabt/demo

Additionally, there is a spin-off project called Wabt.js that allows you to use much ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

gRPC: Up and Running

gRPC: Up and Running

Kasun Indrasiri, Danesh Kuruppu
Real-World Next.js

Real-World Next.js

Michele Riva
Microservices Patterns

Microservices Patterns

Chris Richardson

Publisher Resources

ISBN: 9781492089834Errata Page