Learn WebAssembly: Build web applications with native performance using Wasm and C/C++
Mike Rourke
- 出版商: Packt Publishing
- 出版日期: 2018-09-26
- 售價: $1,980
- 貴賓價: 9.5 折 $1,881
- 語言: 英文
- 頁數: 328
- 裝訂: Paperback
- ISBN: 1788997379
- ISBN-13: 9781788997379
-
相關分類:
前端開發
海外代購書籍(需單獨結帳)
買這商品的人也買了...
-
$2,010$1,910 -
$1,805Test-Driven Development: By Example (Paperback)
-
$780$616 -
$580$458 -
$580$493 -
$720$569 -
$750$638 -
$750$638 -
$780$663 -
$194Spring 3.x 編程技術與應用
-
$580$522 -
$458JSP 項目開發全程實錄, 3/e
-
$1,870$1,777 -
$490$417 -
$450$356 -
$580$452 -
$580$452 -
$383Flutter 實戰
-
$450$338 -
$594$564 -
$2,470Quantum Computing Fundamentals (Paperback)
-
$658Swift 物聯網程序設計 (Program the Internet of Things with Swift for iOS)
-
$760$593 -
$620$490
相關主題
商品描述
In the first definitive guide on WebAssembly, you'll learn how you can wield this new technology to break through the current barriers of web development and build an entirely new class of performant applications .
Key Features
- Generate 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.js
- Build a high-performance application using C and WebAssembly and port an existing C++ game to WebAssembly using Emscripten
Book Description
WebAssembly is a brand-new technology that represents a paradigm shift in web development. This book aims to teaches programmers how to leverage this technology to write high- performance applications that run in the browser.
This book will introduces you to the powerful WebAssembly concepts of WebAssembly that willto help you write lean and powerful web applications with native performance.
You will start with the evolution of web programming, the state of things today, and what can be done with the advent and release of WebAssembly. We take a look at the journey from JavaScript to asm.js to WebAssembly. We then move on to analyzinge the anatomy of a WebAssembly module and the relationship between the binary and text formats, along with the corresponding JavaScript API.
Further on, weyou'll implement all the techniques you've learned by to building 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 would will be well-equipped to create high-performance applications and games for the web using WebAssembly.
What you will learn
- Learn how WebAssembly came to be and its associated elements (text format, module, and JavaScript API)
- Create, load, and debug a WebAssembly module (editor and compiler/toolchain)
- Build a high-performance application using C and WebAssembly
- Extend WebAssembly's feature set using Emscripten by porting a game written in C++
- Explore upcoming features of WebAssembly, Node.js integration, and alternative compilation methods
Who this book is for
If you are a web developer or C/C++ programmer keen to leverage the powerful technology of WebAssembly to build high-performance web applications, then this book is for you.
Table of Contents
- What is WebAssembly?
- Elements ofWebAssembly – Wat, Wasm, and the JavaScript API
- Development Workflow, Tooling, and Configuration
- Installing the Required Dependencies
- Creating and Loading aWebAssembly Module
- Interacting with JavaScript and Debugging
- Creating an Application from Scratch
- Porting a Game with Emscripten
- Integrating with Node.js
- Advanced Tools and Upcoming Features
商品描述(中文翻譯)
在第一本關於WebAssembly的權威指南中,您將學習如何運用這項新技術突破網頁開發的現有障礙,並建立一個全新類型的高效應用程式。
主要特點:
- 使用Emscripten從C和C++生成WebAssembly模組,並在瀏覽器中與這些模組互動
- 學習如何在瀏覽器以外的環境中使用WebAssembly,並使用Node.js加載模組
- 使用C和WebAssembly建立高效應用程式,並使用Emscripten將現有的C++遊戲移植到WebAssembly
書籍描述:
WebAssembly是一項全新的技術,代表了網頁開發的範式轉變。本書旨在教授程式設計師如何利用這項技術撰寫在瀏覽器中運行的高效應用程式。
本書將介紹WebAssembly的強大概念,幫助您撰寫具有本機效能的精簡且強大的網頁應用程式。
您將從網頁程式設計的演進開始,了解當今的狀況以及WebAssembly的出現和發布所帶來的變革。我們將回顧從JavaScript到asm.js再到WebAssembly的發展過程。然後,我們將分析WebAssembly模組的結構以及二進制和文本格式之間的關係,以及相應的JavaScript API。
接著,您將通過使用C和WebAssembly建立高效應用程式的所有技術,並使用Emscripten將現有的C++遊戲移植到WebAssembly。
通過閱讀本書,您將具備在Web上使用WebAssembly創建高效應用程式和遊戲的能力。
您將學到:
- 了解WebAssembly的起源及其相關元素(文本格式、模組和JavaScript API)
- 創建、加載和調試WebAssembly模組(編輯器和編譯器/工具鏈)
- 使用C和WebAssembly建立高效應用程式
- 使用Emscripten將使用C++編寫的遊戲移植到WebAssembly,擴展WebAssembly的功能集
- 探索WebAssembly的即將推出的功能、與Node.js的整合以及替代的編譯方法
本書適合對Web開發或C/C++編程有興趣,並希望利用WebAssembly這項強大技術來建立高效網頁應用程式的網頁開發人員或C/C++程式設計師。目錄如下:
1. 什麼是WebAssembly?
2. WebAssembly的元素 - Wat、Wasm和JavaScript API
3. 開發工作流程、工具和配置
4. 安裝所需的依賴項
5. 創建和加載WebAssembly模組
6. 與JavaScript互動和調試
7. 從頭開始創建應用程式
8. 使用Emscripten移植遊戲
9. 與Node.js整合
10. 高級工具和即將推出的功能