WebAssembly in Action

WebAssembly in Action
EPUB

Book Description
WebAssembly in Action introduces the WebAssembly stack and walks you through the process of writing and running browser-based applications. Expert developer Gerard Gallant gives you a firm foundation of the structure of a module, HTML basics, jаvascript Promises, and the WebAssembly jаvascript API.

About the Technology
Write high-performance browser-based applications without relying only on jаvascript! By compiling to the WebAssembly binary format, your C, C++, or Rust code runs at near-native speed in the browser. WebAssembly delivers greater speed, opportunities to reuse existing code, and access to newer and faster libraries. Plus, you can easily interact with jаvascript when you need to.

About the Book
WebAssembly in Action teaches you how to write and run high-performance browser-based applications using C++ and other languages supported by WebAssembly. In it, you'll learn to create native WebAssembly modules, interact with jаvascript components, and maximize performance with web workers and pthreads. And you'll love how the clearly organized sections make it a breeze to find the important details about every function, feature, and technique.

What's inside
  • Dynamic linking of multiple modules at runtime
  • Communicating between modules and jаvascript
  • Debugging with WebAssembly Text Format
  • Threading with web workers and pthreads

Content

PART 1 - FIRST STEPS

Chapter 1. Meet WebAssembly
Chapter 2. A look inside WebAssembly modules
Chapter 3. Creating your first WebAssembly module

PART 2 - WORKING WITH MODULES

Chapter 4. Reusing your existing C++ codebase
Chapter 5. Creating a WebAssembly module that calls into jаvascript
Chapter 6. Creating a WebAssembly module that talks to jаvascript using function pointers

PART 3 - ADVANCED TOPICS

Chapter 7. Dynamic linking: The basics
Chapter 8. Dynamic linking: The implementation
Chapter 9. Threading: Web workers and pthreads
Chapter 10. WebAssembly modules in Node.js

PART 4 - DEBUGGING AND TESTING

Chapter 11. WebAssembly text format
Chapter 12. Debugging
Chapter 13. Testing—and then what?

Download WebAssembly in Action PDF or ePUB format free


Free sample


Download in .ePUB format


Add comments
Прокомментировать
Введите код с картинки:*
Кликните на изображение чтобы обновить код, если он неразборчив
Copyright © 2019