Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Learn WebAssembly

You're reading from   Learn WebAssembly Build web applications with native performance using Wasm and C/C++

Arrow left icon
Product type Paperback
Published in Sep 2018
Publisher Packt
ISBN-13 9781788997379
Length 328 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Mike Rourke Mike Rourke
Author Profile Icon Mike Rourke
Mike Rourke
Arrow right icon
View More author details
Toc

Table of Contents (12) Chapters Close

Preface 1. What is WebAssembly? 2. Elements of WebAssembly - Wat, Wasm, and the JavaScript API FREE CHAPTER 3. Setting Up a Development Environment 4. Installing the Required Dependencies 5. Creating and Loading a WebAssembly Module 6. Interacting with JavaScript and Debugging 7. Creating an Application from Scratch 8. Porting a Game with Emscripten 9. Integrating with Node.js 10. Advanced Tools and Upcoming Features 11. Other Books You May Enjoy

Elements of WebAssembly - Wat, Wasm, and the JavaScript API

Chapter 1, What is WebAssembly?, described the history of WebAssembly and provided a high-level overview of the technology as well as the potential use cases and limitations. WebAssembly was described as being composed of multiple elements, not just the binary instruction format specified in the official definition.

In this chapter, we will dig into the elements that correspond to the official specifications created by the WebAssembly Working Group. We will examine the Wat and the binary format in greater detail to gain a better understanding of how they relate to modules. We will review the JavaScript API and Web API to ensure you're able to utilize the WebAssembly effectively in the browser.

Our goal for this chapter is to understand the following:

  • How the text and binary formats are related
  • What Wat is and where...
You have been reading a chapter from
Learn WebAssembly
Published in: Sep 2018
Publisher: Packt
ISBN-13: 9781788997379
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image