HomeCoursesPractical WebAssembly
AI-powered learning
Save

Practical WebAssembly

Gain insights into WebAssembly, its compilation techniques, and VM infrastructure. Learn about converting native code, optimizing performance, and integrating Rust for efficient web processing.

68 Lessons
9h
Join 2.9 million developers at
Join 2.9 million developers at
LEARNING OBJECTIVES
  • Familiarity with creating WebAssembly binary with Emscripten
  • Ability to run Emscripten-generated WebAssembly binary with a Node.js server
  • Ability to convert WASM to WAST and other formats
  • Working knowledge of identifying, debugging, and writing efficient WebAssembly modules
  • An understanding of using Binaryen to convert WebAssembly into different formats
  • Ability to convert Rust into WebAssembly with different packages

Learning Roadmap

68 Lessons10 Quizzes

2.

Understanding LLVM

Understanding LLVM

Discover the logic behind LLVM's role in optimizing and compiling code for WebAssembly.

3.

Understanding Emscripten

Understanding Emscripten

7 Lessons

7 Lessons

Master the steps to convert C/C++ code into WebAssembly using Emscripten tools and optimizations.

4.

Exploring WebAssembly Modules

Exploring WebAssembly Modules

4 Lessons

4 Lessons

Grasp the fundamentals of WebAssembly modules, their workings, and text format for optimization.

5.

Understanding the WebAssembly Binary Toolkit

Understanding the WebAssembly Binary Toolkit

7 Lessons

7 Lessons

Dig deeper into the WebAssembly Binary Toolkit's features for conversions and debugging.

6.

Understanding Sections in WebAssembly Modules

Understanding Sections in WebAssembly Modules

6 Lessons

6 Lessons

Follow the process of understanding WebAssembly sections, from exports/imports to shared memory.

7.

Exploring Binaryen and Its Tools

Exploring Binaryen and Its Tools

6 Lessons

6 Lessons

Master the tools to efficiently optimize and convert WebAssembly with Binaryen.

8.

Integrating Rust with WebAssembly

Integrating Rust with WebAssembly

5 Lessons

5 Lessons

Step through integrating Rust with WebAssembly, using tools like rustc, Cargo, and wasm-bindgen.

9.

Bundling WebAssembly Using wasm-pack

Bundling WebAssembly Using wasm-pack

6 Lessons

6 Lessons

Unpack the core of bundling WebAssembly with tools like wasm-pack, webpack, and Parcel.

10.

Crossing the Boundary between Rust and WebAssembly

Crossing the Boundary between Rust and WebAssembly

8 Lessons

8 Lessons

Master the steps to integrate Rust with JavaScript through WebAssembly for seamless functionality.

11.

Optimizing Rust and WebAssembly

Optimizing Rust and WebAssembly

6 Lessons

6 Lessons

Grasp the fundamentals of optimizing Rust and WebAssembly for enhanced performance and efficiency.

13.

Appendix

Appendix

6 Lessons

6 Lessons

Simplify complex WebAssembly tool installations, including Emscripten, WABT, Binaryen, Rust, wasm-bindgen, and more.
Certificate of Completion
Showcase your accomplishment by sharing your certificate of completion.
Author NamePractical WebAssembly
Developed by MAANG Engineers
ABOUT THIS COURSE
WebAssembly, also known as WASM, is a binary instruction format that provides multiple programming languages (C/C++, Ruby, Java, etc.) with a compilation target for smooth web processing. In this course, we’ll learn how to convert native code of different languages into WebAssembly and optimize it for better performance. This intermediate-level course provides basic information on compilation techniques and VM infrastructure. It discusses converting C/C++ code into WebAssembly and loading the binary in a Node.js browser through tools like Emscripten and emsdk. You will learn the difference between WebAssembly text (WAST) and binary format (WASM). The course will cover step-by-step guidelines for switching between formats such as WASM, WAST, C, and JSON. Additionally, you’ll learn how to use tools provided by Binaryen. After taking this course, you’ll learn how to integrate Rust into WebAssembly, publish modules, and optimize the memory model.
ABOUT THE AUTHOR

Packt

A tech learning platform that provides online courses, eBooks, videos, and other resources to help individuals and organizations stay ahead of emerging and popular technologies.

Learn more about Packt

Trusted by 2.9 million developers working at companies

These are high-quality courses. Trust me the price is worth it for the content quality. Educative came at the right time in my career. I'm understanding topics better than with any book or online video tutorial I've done. Truly made for developers. Thanks

A

Anthony Walker

@_webarchitect_

Just finished my first full #ML course: Machine learning for Software Engineers from Educative, Inc. ... Highly recommend!

E

Evan Dunbar

ML Engineer

You guys are the gold standard of crash-courses... Narrow enough that it doesn't need years of study or a full blown book to get the gist, but broad enough that an afternoon of Googling doesn't cut it.

S

Software Developer

Carlos Matias La Borde

I spend my days and nights on Educative. It is indispensable. It is such a unique and reader-friendly site

S

Souvik Kundu

Front-end Developer

Your courses are simply awesome, the depth they go into and the breadth of coverage is so good that I don't have to refer to 10 different websites looking for interview topics and content.

V

Vinay Krishnaiah

Software Developer

Built for 10x Developers

No Passive Learning
Learn by building with project-based lessons and in-browser code editor
Learn by Doing
Personalized Roadmaps
The platform adapts to your strengths & skills gaps as you go
Learn by Doing
Future-proof Your Career
Get hands-on with in-demand skills
Learn by Doing
AI Code Mentor
Write better code with AI feedback, smart debugging, and "Ask AI"
Learn by Doing
Learn by Doing
MAANG+ Interview Prep
AI Mock Interviews simulate every technical loop at top companies
Learn by Doing

Free Resources

FOR TEAMS

Interested in this course for your business or team?

Unlock this course (and 1,000+ more) for your entire org with DevPath