Skip to content

mikerourke/learn-webassembly

Repository files navigation

Learn WebAssembly

This repository contains the examples from the book Learn WebAssembly, released by Packt Publishing.

Prerequisites

Chapter Content

Select a chapter link below to navigate to the corresponding README.

Learn WebAssembly

Learn WebAssembly

This is the code repository for Learn WebAssembly, published by Packt.

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

What is this book about?

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 covers the following exciting features:

  • 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

If you feel this book is for you, get your copy today!

https://www.packtpub.com/

Instructions and Navigations

All of the code is organized into folders.

The code will look like the following:

int addTwo(int num) {
    return num + 2;
}

Following is what you need for this book: 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.

With the following software and hardware list you can run all code files present in the book (Chapter 1-10).

Software and Hardware List

Chapter Hardware required OS required
All 1.6 GHz or faster processor Mac OS X Yosemite or higher
All 2 GB of RAM Ubuntu 16.04 LTS or higher
All 4 GB of hard drive space Windows 7, 8.0, 8.1 or 10 (32-bit and 64-bit)*

We also provide a PDF file that has color images of the screenshots/diagrams used in this book. Click here to download it.

Related products

Get to Know the Author

Mike Rourke has been writing code for over a decade. He got his start creating Microsoft Access applications using VBA and decided he wanted to work with JavaScript full-time after building a Mozilla Firefox extension. He has a B.S. in mechanical engineering technology and worked primarily in product design/manufacturing engineering roles before starting a career as a software engineer in 2017. Currently, he works for a Chicago-based consulting company and is focused primarily on frontend JavaScript development. When's he not writing code, he's out in the woods camping with his wolf brothers.

Suggestions and Feedback

Click here if you have any feedback or suggestions.

About

Example code for Learn WebAssembly published by Packt.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published