Gå direkte til innholdet
WebAssembly 2.0 Essentials, Second Edition
Spar

WebAssembly 2.0 Essentials, Second Edition

Forfatter:
pocket, 2025
Engelsk
709,-

This book is for you if you're tired of watching JavaScript struggle with complicated calculations while your users get impatient. I wrote this second edition because WebAssembly 2.0 changes everything, and I wanted to show you exactly how to use it without the usual technical book problems.

The first thing we'll do is go through the basics, like memory management and control flow, which are the most important. Then we'll move on to putting together C, C++, Rust, and Python into Wasm modules that actually work. I'll show you how to use multi-threading, profiling and optimisation techniques that I've used in real projects, not just theoretical exercises. I know a lot of you have old Wasm 1.0 code, so I've written a whole chapter about how to move it over without causing any problems. And we'll also learn how to use WebAssembly in other ways, not just in browsers. You'll learn to work with Dapr for distributed microservices, deploy on Kubernetes, and build cloud-native applications that scale well.

There is working code in every chapter that you can use right away. There is no unnecessary information, just practical techniques that solve real problems. I've figured out the tricky parts and the things that can go wrong, and I'm sharing them what actually works. By the time you finish this book, it will have taught you everything you need to build WebAssembly applications so quickly that people will be amazed.

Key Features

Put together C, C++, Rust, and Python into high-performance WebAssembly modules using Emscripten.

Build advanced multi-threaded apps using atomic operations, shared memory and thread-safe sync patterns.

Migrate old Wasm 1.0 projects to version 2.0 using proven strategies.

Combine WebAssembly with Dapr for microservices using patterns for managing data and sending messages.

Deploy and scale Wasm workloads on Kubernetes clusters with complete control over configuration and secrets management.

Make performance better by using systematic profiling and advanced compilation techniques for production apps.

Take care of module imports, exports, and JavaScript interoperability.

Use tables, memory semantics and dynamic dispatch mechanisms for complex logic.

Manage networking, security, monitoring, and debugging for WebAssembly cloud-native deployments at scale.

Table of Content

Introduction to WebAssembly

Fundamentals of WebAssembly Programming

WebAssembly Modules and Semantics

Bridging WebAssembly with High-Level Languages

Advanced WebAssembly Tools and Techniques

Advanced Performance Optimization

Practical Migration to Wasm 2.0

Using WebAssembly with Dapr

Running WebAssembly Apps on Kubernetes

Undertittel
Making Migrations, Cloud-Native Integration, and Production-Ready WebAssembly Applications Easier
Opplag
2nd ed.
ISBN
9789349174467
Språk
Engelsk
Vekt
249 gram
Utgivelsesdato
13.11.2025
Antall sider
138