Skip to content
UdemyJavaScriptPaid courseBeginner levelCertificate

Hands-On WebAssembly for C++ Programmers (Udemy.com)

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

Created by: Packt Publishing

Last updated May 2020

Our take

Based on the ratings of 90 students, a sample of their written reviews and the syllabus, as the course stood in May 2020. No course pays to be reviewed.

This is a compact Packt course, just over 3 hours across 33 lectures, written by Patrick Viafore, a software engineer whose bio lists 12 years of C++ and web work. It's aimed at people who already write C++ and don't know how to get it running in a browser. The syllabus moves from a first compiled program to what happens under the hood, then system libraries, hardware, audio and a closing section on debugging. Web developers trying to remove a JavaScript bottleneck are also in the stated audience.

The rating is 4.2 from 90 reviews, and 73 of those gave four or five stars. Students like Viafore's clear teaching, the well-ordered sections, the included Makefile and Dockerfile, and the attention to debugging and profiling. The complaints are specific. The last update was May 2020, and two low-star reviewers say the material is old and that some examples or versions no longer work. One names the windowing lecture, where the commands don't match the library's own docs. Another calls it boilerplate and copy and paste, and one student struggled because their setup wasn't ready.

The short length works in its favor as an introduction, and even a critical reviewer said the content and tempo were good. Still, seven sections share 194 minutes, and practice is limited to quizzes, with no coding exercises or assignments to make the ideas stick. Take it for the concepts and the debugging material, with current library documentation open alongside. If a broken build would end the lesson for you, pick something newer.

Best forC++ programmers who want a three-hour tour of porting code to the browser and can fix outdated build commands.
Skip it ifYou need every example to run on current tools, or you're new to C++ and expect the language to be taught.

Pros

  • Includes a Makefile and Dockerfile, which one reviewer says made the samples easy to run
  • Gives debugging techniques a full 36-minute section, the longest in the course
  • Goes past a first program into system libraries, hardware and browser audio
  • Well-structured sections and a good tempo, according to reviewers

Cons

  • Last updated in May 2020, and reviewers report old versions and examples that no longer work
  • No coding exercises or assignments, and one reviewer found it mostly copy and paste
  • Code at the bottom of the screen can be hidden by the video progress bar
After reaching section 3 onwards, I am confident with the way instructor taught, getting into the deep understand of WebAssembly accordingly.
Ricky Gai, a student

Beginner means new to WebAssembly, not to coding. It's built for C++ programmers, and some JavaScript helps.

icon
What you will learn

  • Gain a robust understanding of WebAssembly and its place in the modern web ecosystem so that you can leverage it correctly
  • Transform your C++ applications into WebAssembly so that you can deploy them to the web, but with the performance you're used to
  • Explore the in's and out's of WebAssembly by working through code so you understand core concepts
  • Interact with system libraries, such as graphics and audio frameworks, to seamlessly convert heavy-duty C++ applications into WebAssembly
  • Debug and profile C++/WebAssembly code, so that you can easily detect and remove bottlenecks

Course content

7 sections · 33 lectures · 3.2 hours of video 7 quizzes

  1. 1Getting Started with WebAssembly 1 free preview3 lectures · 1 quiz · 20 min
  2. 2Running Our First C++ Application in the Browser 1 free preview5 lectures · 1 quiz · 34 min
  3. 3Getting Under the Hood of WebAssembly 1 free preview5 lectures · 1 quiz · 28 min
  4. 4Using WebAssembly System Libraries5 lectures · 1 quiz · 28 min
  5. 5Working with Computer Hardware in the Web5 lectures · 1 quiz · 27 min
  6. 6Making Music in the Browser by Integrating Audio4 lectures · 1 quiz · 20 min
  7. 7Debugging Techniques in WebAssembly6 lectures · 1 quiz · 36 min

Who it is for

The instructor says it suits

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

What you need before you 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.

How it compares

Against the other 243 rated Udemy courses in JavaScript on CourseDuck:

  • Rating4.2 out of 5higher than 18% of them
  • Reviews90#213 of 244 by number of reviews
  • Length3.2 hoursshorter than 66% of them
  • Last updatedMay 2020earlier than 71% of them

icon
Course Description

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.

About the Author

Patrick Viafore is a software engineer with 12 years' experience writing C++ and web applications. From meteorology software to telecommunication firmware and operating systems in the cloud, he's been involved in many facets of the software world.

Patrick has seen new technologies grow and blossom, and knows how hard it can be to stay on the cutting edge, especially given the lightning-quick pace of web development.

He focuses on distilling the concepts that you care about, and reinforcing them with real code. In this course, he will be pulling code excerpts from real, open-source libraries and showing you how to transform them into WebAssembly.

Patrick enjoys teaching and has given conference talks, hosted workshops, and mentored many developers.

icon
Udemy Discount

The discount is applied through our link. Open the course from here and Udemy's current promotional price is applied at checkout on most courses, no code to type.

Some courses are excluded from Udemy's promotions. If the price does not drop, clear your browser cookies and use the button again.

icon
Instructor Details

Packt Publishing

Packt are an established, trusted, and innovative global technical learning publisher, founded in Birmingham, UK with over eighteen years experience delivering rich premium content from ground-breaking authors and lecturers on a wide range of emerging and established technologies for professional development.


Packt’s purpose is to help technology professionals advance their knowledge and support the growth of new technologies by publishing vital user focused knowledge-based content faster than any other tech publisher, with a growing library of over 9,000 titles, in book, e-book, audio and video learning formats, our multimedia content is valued as a vital learning tool and offers exceptional support for the development of technology knowledge.


We publish on topics that are at the very cutting edge of technology, helping IT professionals learn about the newest tools and frameworks in a way that suits them.

icon
More courses by Packt Publishing

$11.99

Original price $64.9982% off

$11.99

Original price $44.9973% off

$11.99

Original price $59.9980% off

$12.99

Original price $59.9978% off

$13.99

Original price $64.9978% off

$15.99

Original price $59.9973% off

icon
More JavaScript courses

Free

Free

Free

$24.99

Original price $159.9984% off

Free

$11.99

Original price $79.9985% off

icon
Reviews

4.2

90 ratings on Udemy

Select a bar to show only those reviews.Select the bar again to show every rating.

By Rein Ytterberg on 8/9/2024

The information is old. Chapter 23 "Wrapping Applications with Windowing" refers to a library example that doesn't work but would be very interesting if it did. The commands specified in the course are not the same as documented on the library's GitHub doc. It's not a good idea to use the very lowest part of the screen for relevant info such as code, because it will be covered by the video's progress bar etc. But the course content and tempo is good. I like that Linux is used as reference.

By Francesco De Lucia on 3/3/2023

Ottimo corso per chi vuole avvicinarsi alla comprensione inizale dei meccanismi di implemantazione del WebAssembly!

By Pedro Antonio Fonseca Ferreira on 9/3/2022

Boiler plate on top of boiler plate. You don't learn anything from the course. It's just copy and paste.

By Wun-Cheol Jeong on 8/27/2022

Old version used which doesn't work any more... Maybe I can search solutions for the latest version... Then, Why Am I taking this course?

By Ricky Gai on 4/11/2021

After reaching section 3 onwards, I am confident with the way instructor taught, getting into the deep understand of WebAssembly accordingly. Recommended.

By Antoine Jarrier on 3/31/2021

Cela correspondait à mes attentes. Mais je n'avais pas un environnement (OS, outils,...) bien formaté pour mener à bien toutes les étapes de cette formation.

By Jinki Jung on 9/5/2020

It explains the things that I was looking for

By Eduardo Javier Yánez Prado on 8/19/2020

Teacher, Thanks for your concern about having tools for debugging and profiling, that was a very good approach. I appreciate it.

By SIYOUNG CHOI on 6/29/2020

This course is very informative, and has well structured sections to understand Webassembly. And, it was good for me because I could execute the sample easily. ( Makefile and DockerFile included ) Finally, I could learn about what is a good descriptions because the sentences at the movies were simplified well.

Showing all 9 reviews on CourseDuck

Read all 90 reviews on Udemy

icon
Quality Score

No CourseDuck member has rated this course yet. Taken it? Give each part a thumbs up or down.

Content Quality
/
Video Quality
/
Qualified Instructor
/
Course Pace
/
Course Depth & Coverage
/

Overall Score : 84 / 100