Table of Contents

 

Copyright

Brief Table of Contents

Table of Contents

Preface

Acknowledgments

About this Book

About the Author

About the Cover Illustration

1. First steps

Chapter 1. Meet WebAssembly

1.1. What is WebAssembly?

1.1.1. Asm.js, the forerunner to WebAssembly

1.1.2. From asm.js to MVP

1.2. What problems does it solve?

1.2.1. Performance improvements

1.2.2. Faster startup times compared with JavaScript

1.2.3. Ability to use languages other than JavaScript in the browser

1.2.4. Opportunity for code reuse

1.3. How does it work?

1.3.1. Overview of how compilers work

1.3.2. Loading, compiling, and instantiating a module

1.4. Structure of a WebAssembly module

1.4.1. Preamble

1.4.2. Known sections

1.4.3. Custom sections

1.5. WebAssembly text format

1.6. How is WebAssembly secure?

1.7. What languages can I use to create a WebAssembly module?

1.8. Where can I use my module?

Summary

Chapter 2. A look inside WebAssembly modules

2.1. Known sections

2.2. Custom sections

Summary

Chapter 3. Creating your first WebAssembly module