Hands-On WebAssembly for C++ Programmers

Video description

Take advantage of the performance and speed of C++ directly in web browsers

About This Video

  • This practical guide will take you beyond the simple Hello World stage and you'll soon get up and running with WebAssembly by solving a real-world problem
  • Start off with the basics and rapidly move on to more advanced topics
  • Includes hands-on, practical examples to guide you through the interplay between C++ and WebAssembly and tips and tricks to optimize your application's performance

In Detail

Due to recent trends, companies are looking to design their applications live on the web. However, it's easy to grow frustrated with JavaScript, which offers limited scope for fine- tuning performance.

If you want get ahead of your competitors by working in a language you're comfortable with, one that is designed for speed? WebAssembly is your answer. Starting with first principles; you'll learn is why WebAssembly is so powerful and why C++ is a natural fit. The you'll look at compiling a program for WebAssembly using C++.

This course looking provides code examples, rather than slides so that you can really delve into the depths of WebAssembly. Allowing you to go beyond simple toy examples and learn about how real programs compile to WebAssembly.

You'll find out that not everything works out right the first time, and it's just as important to learn how to debug and profile your programs.

By the end of this course, you will have gained all the skills you need to get a speed advantage over pure JavaScript applications, leaving your competitors behind.


This course is suitable for C++ programmers who want to get their applications browser-ready with WebAssembly, but don't know where to start.

Some prior knowledge of JavaScript would be helpful.

Additionally, web developers who want to surgically remove JavaScript bottlenecks using WebAssembly will also benefit from the course.

Publisher resources

Download Example Code

Product information

  • Title: Hands-On WebAssembly for C++ Programmers
  • Author(s): Patrick Viafore
  • Release date: April 2020
  • Publisher(s): Packt Publishing
  • ISBN: 9781839217753