دانلود کتاب Learn WebAssembly: Build web applications with native performance using Wasm and C/C++. Code
by Mike Rourke
|
عنوان فارسی: WebAssemble را بیاموزید: با استفاده از Wasm و C / C ++ برنامه های وب را با عملکرد طبیعی بسازید. |
دانلود کتاب
جزییات کتاب
The first definitive guide on WebAssembly to help you break through the barriers of web development and build an entirely new class of performant applicationsKey FeaturesGenerate WebAssembly modules from C and C++ using Emscripten and interact with these modules in the browser Learn how to use WebAssembly outside of the browser and load modules using Node.jsBuild a high performance application using C and WebAssembly Book DescriptionWebAssembly is a brand new technology that represents a paradigm shift in web development. This book will teach you how to leverage this technology to write high performance applications that run in the browser. You'll be introduced to powerful WebAssembly concepts that will help you write lean and powerful web applications with native performance. Learn WebAssembly begins by getting you acquainted with the evolution of web programming, the state of things today, and what can be done with the advent and release of WebAssembly. You'll then take a look at the journey from JavaScript to asm.js to WebAssembly. As you progress, you'll analyze the anatomy of a WebAssembly module and the relationship between binary and text formats, along with the corresponding JavaScript API. Further on, you'll implement all the techniques you've learned to build a high performance application using C and WebAssembly, and then port an existing game written in C++ to WebAssembly using Emscripten.By the end of this book, you will be well-equipped to create high performance applications and games for the Web using WebAssembly.What you will learnUnderstand how WebAssembly and its associated elements (text format, module, and the JavaScript API) came to beCreate, load, and debug a WebAssembly module (editor and compiler/toolchain)Build a high performance application using C and WebAssemblyExtend WebAssembly's feature set using Emscripten by porting a game written in C++Explore the upcoming features of WebAssembly, Node.js integration, and alternative compilation methodsPort an existing C++ game to WebAssembly using EmscriptenWho this book is forIf you are a web developer or C/C++ programmer keen to leverage the powerful WebAssembly to build high performance web applications, this book is for you.Table of ContentsWhat is WebAssembly?Elements ofWebAssembly – Wat, Wasm, and the JavaScript APIDevelopment Workflow, Tooling, and ConfigurationInstalling the Required DependenciesCreating and Loading aWebAssembly ModuleInteracting with JavaScript and DebuggingCreating an Application from ScratchPorting a Game with EmscriptenIntegrating with Node.jsAdvanced Tools and Upcoming Features