A a thorough, practice-based introduction to WebAssembly. Learn how to create high-performing, lightning-fast websites and applications. WebAssembly is the fast, compact, portable technology that optimizes the performance of resource-intensive web applications and programs.
The Art of WebAssembly is designed to give web developers a solid understanding of how it works, when to use it (and when not to), and how to develop and deploy WebAssembly apps.
First you'll learn how to optimize and compile low-level code, debug and evaluate WebAssembly, and represent WebAssembly in the human-readable WebAssembly Text (WAT) format. Once you have the basics down, you'll build a browser-based collision detection program, work with browser rendering technologies to create graphics and animations, and see how WebAssembly interacts with other web languages.
You'll also learn how to:
Embed WebAssembly applications in web browsers and Node.jsUse browser debuggers to evaluate your WebAssembly codeFormat variables, loops, functions, strings, data structures, and conditional logic in WATManipulate memoryBuild a program that generates graphical objects and detects when they collideEvaluate the output of a WebAssembly compiler The Art of WebAssembly will help you make sense of this powerful technology to boost the performance of your web applications.
Author: Rick Battagline
Binding Type: Paperback
Publisher: No Starch Press
Published: 05/25/2021
Pages: 304
Weight: 1.25lbs
Size: 9.20h x 7.10w x 0.90d
ISBN: 9781718501447
About the AuthorRick Battagline is a game developer and author of
Hands-On Game Development with WebAssembly (Packt Publishing, 2019). In 2006 he founded BattleLine Games LLC, an independent game studio focused on web games. Since then, he has written hundreds of games developed in various web technologies including WebAssembly, HTML5, WebGL, JavaScript, TypeScript, ActionScript, and PHP. He's a member of the WebAssembly Community Group, and the AssemblyScript Community Group.