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

Språk
Engelsk
Format
Kategori

Fakta og dokumentar

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 teaches programmers to leverage this technology to write high-performance applications that run in the browser. This book introduces you to powerful WebAssembly concepts to help you write lean and powerful web applications with native performance. You 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 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 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.

© 2018 Packt Publishing (E-bok): 9781788995467

Utgivelsesdato

E-bok: 25. september 2018

Tagger

Andre liker også ...

Derfor vil du elske Storytel:

  • Over 900 000 lydbøker og e-bøker

  • Eksklusive nyheter hver uke

  • Lytt og les offline

  • Kids Mode (barnevennlig visning)

  • Avslutt når du vil

Det mest populære valget

Unlimited

For deg som vil lytte og lese ubegrenset.

219 kr /måned

14 dager gratis
  • Lytt så mye du vil

  • Over 900 000 bøker

  • Nye eksklusive bøker hver uke

  • Avslutt når du vil

Benytt tilbud

Family

For deg som ønsker å dele historier med familien.

Fra 289 kr /måned

14 dager gratis
  • Lytt så mye du vil

  • Over 900 000 bøker

  • Nye eksklusive bøker hver uke

  • Avslutt når du vil

Du + 1 familiemedlem2 kontoer

289 kr /måned

Benytt tilbud

Premium

For deg som lytter og leser ofte.

189 kr /måned

  • Lytt opptil 50 timer per måned

  • Over 900 000 bøker

  • Nye eksklusive bøker hver uke

  • Avslutt når du vil

Benytt tilbud

Basic

For deg som lytter og leser av og til.

149 kr /måned

  • Lytt opp til 20 timer per måned

  • Over 900 000 bøker

  • Nye eksklusive bøker hver uke

  • Avslutt når du vil

Benytt tilbud

Lytt og les ubegrenset

Kos deg med ubegrenset tilgang til mer enn 700 000 titler.

  • Lytt og les så mye du vil
  • Utforsk et stort bibliotek med fortellinger
  • Over 1500 serier på norsk
  • Ingen bindingstid, avslutt når du vil
Benytt tilbud
NO - Details page - Device banner - 894x1036
Cover for Learn WebAssembly: Build web applications with native performance using Wasm and C/C++