Learn WebAssembly: Build web applications with native performance using Wasm and C/C++


Learn WebAssembly: Build web applications with native performance using Wasm and C/C++
Authors: Mike Rourke
ISBN-10: 1788997379
ISBN-13: 9781788997379
Publication Date 出版日期: 2018-09-25
Print Length 页数: 328 pages


Book Description
By finelybook

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.
Contents
1: WHAT IS WEBASSEMBLY?
2: ELEMENTS OF WEBASSEMBLY – WAT,WASM,AND THE JAVASCRIPT API
3: SETTING UP A DEVELOPMENT ENVIRONMENT
4: INSTALLING THE REQUIRED DEPENDENCIES
5: CREATING AND LOADING A WEBASSEMBLY MODULE
6: INTERACTING WITH JAVASCRIPT AND DEBUGGING
7: CREATING AN APPLICATION FROM SCRATCH
8: PORTING A GAME WITH EMSCRIPTEN
9: INTEGRATING WITH NODE.JS
10: ADVANCED TOOLS AND UPCOMING FEATURES
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
Authors
Mike Rourke
Mike Rourke is a software engineer based in Chicago and works primarily with web technologies and the Node.js ecosystem. He has been writing code for over 10 years. Mike started out writing VB and switched to JavaScript about 2 years ago. He loves all aspects of programming and spends most of his free time learning new technologies and improving his skills.

相关文件下载地址

打赏
未经允许不得转载:finelybook » Learn WebAssembly: Build web applications with native performance using Wasm and C/C++

评论 抢沙发

觉得文章有用就打赏一下

您的打赏,我们将继续给力更多优质内容

支付宝扫一扫

微信扫一扫