Developing Applications for Deployment with WASM and Rust
Buch, Englisch, Format (B × H): 178 mm x 254 mm
ISBN: 979-8-8688-3260-4
Verlag: APRESS L.P.
Become an expert in using WebAssembly across a variety of projects and real-life situations. This book is a comprehensive guide to WebAssembly and it will guide you in creating applications that can be deployed to production. Not only will you learn how WASM is being used in modern browser applications, but you will also gain insight into newer cutting-edge fields like applied AI that are also additionally using WebAssembly to deploy workloads, leveraging the WebAssembly security model to provide additional security.
The book begins with an introduction to WebAssembly as a production systems boundary and explains why it matters beyond the browser. The book then moves into familiarizing you with the current WebAssembly landscape and standards and provides you with a mental model of how WebAssembly code executes. The following chapters address performance and data movement between hosts and WASM modules and explain the WebAssembly security model.
The book then helps you solve modern AI reliability issues using WebAssembly’s security model and shows you how WebAssembly fits into modern AI and agent-based systems. The book also prepares you for the future of WebAssembly interoperability. The final portion of the book instructs you in applying concepts from the book to create an application. The book ends with an exploration of WebAssembly’s limitations and when it can be misused.
If you want to understand how WebAssembly works, not just theoretically but in practical ways that resonate with the current AI landscape, this book will be an invaluable companion that will provide you with a comprehensive and deeper understanding of this crucial technology.
What You Will Learn
- Build applications and modules that use WebAssembly in an idiomatic manner
- Utilize WebAssembly’s security model to provide sandbox-like conditions for applications
- Understand different WebAssembly previews and the (dis)advantages of each one
- Learn how to use WASM beyond browser applications
Who This Book is For
This book will be primarily for mid-tier developers who have a few years of experience under their belt, or senior developers who are looking to get into WASM.
Zielgruppe
Professional/practitioner
Autoren/Hrsg.
Fachgebiete
Weitere Infos & Material
Chapter 1: Why WebAssembly Exists (and Why It Matters in Production).- Chapter 2: The WebAssembly Execution Model.- Chapter 3: The WebAssembly Ecosystem and Standards.- Chapter 4: Rust as a Production WebAssembly Language.- Chapter 5: Designing Stable WebAssembly APIs.- Chapter 6: Data Exchange and Performance Considerations.- Chapter 7: The WebAssembly Security Model.- Chapter 8: WASI as a Capability System.- Chapter 9: Failure Modes in AI Systems and the Role of WebAssembly.- Chapter 10: Server-Side WebAssembly in Production.- Chapter 11: WebAssembly as a Plugin and Extension System.- Chapter 12: WebAssembly for AI and Agent Workloads.- Chapter 13: The WebAssembly Component Model.- Chapter 14: Building a Secure WebAssembly System — A Case Study.- Chapter 15: Operating and Maintaining WebAssembly in Production.- Chapter 16: When WebAssembly Is the Wrong Tool.




