AI Features
Log In
0% completed
All Lessons
Free Lessons (4)
Introduction to the Course
Overview
Understanding LLVM
Getting Started
Understanding Compilers
Exploring LLVM
LLVM in Action
Quiz Yourself: Basics of LLVM
Understanding Emscripten
Introduction to Emscripten
Generating asm.js Using Emscripten
Running Hello World with Emscripten in Node.js
Running Hello World with Emscripten in the Browser
Exploring Other Options in emsdk
Understanding Various Levels of Optimizations
Quiz Yourself: Basics of Emscripten
Exploring WebAssembly Modules
Introduction to WebAssembly Modules
Understanding How WebAssembly Works
Exploring the WebAssembly Text Format
Quiz Yourself: Basics of WebAssembly Modules
Understanding the WebAssembly Binary Toolkit
Introduction to the WebAssembly Binary Toolkit
Converting WAST into WASM
Converting WASM into WAST
Converting WASM into C
Converting WAST into JSON
Understanding a Few Other Tools Provided by WABT
Quiz Yourself: Basics of WebAssembly Binary Toolkit
Understanding Sections in WebAssembly Modules
Introduction to Sections in WebAssembly Modules
Exports and Imports
Global Variables and Constants
The Start Function
Shared Memory
Quiz Yourself: Basics of Sections in WebAssembly Modules
Exploring Binaryen and Its Tools
Introduction to Binaryen
The wasm-as Tool
The wasm-dis Tool
The wasm-opt Tool
The wasm2js Tool
Quiz Yourself: Basics of Binaryen
Integrating Rust with WebAssembly
Introduction to Rust with WebAssembly
Converting Rust into WebAssembly via rustc
Converting Rust into WebAssembly via Cargo
Converting Rust into WebAssembly via wasm-bindgen
Quiz Yourself: Basics of Integrating Rust with WebAssembly
Bundling WebAssembly Using wasm-pack
JavaScript and WebAssembly Dynamics
Bundling WebAssembly Modules with webpack
Bundling WebAssembly Modules with Parcel
Introducing wasm-pack
Packing and Publishing Using wasm-pack
Quiz Yourself: Basics of wasm-pack
Crossing the Boundary between Rust and WebAssembly
Interaction of Rust and WebAssembly
Sharing Classes from Rust with JavaScript
Sharing Classes from JavaScript with Rust
Calling the JavaScript API via WebAssembly
Calling Closures via WebAssembly
Importing the JavaScript Function into Rust
Calling a Web API via WebAssembly
Quiz Yourself: Basics of the Boundary Limits between Rust and WebAssembly
Project
Create an E-Commerce Store in Rust
Optimizing Rust and WebAssembly
Minimizing and Analyzing: An Important Aspect
Minimizing the WebAssembly Modules
Analyzing the Memory Model in the WebAssembly Module
Creating a Memory Object in JavaScript to Use in the Rust App
Analyzing the WebAssembly Module with Twiggy
Quiz Yourself: Basics of Optimizing Rust and WebAssembly
Conclusion
Wrap Up
Appendix
Installing Emscripten Using emsdk
Installing WABT
Installing Binaryen
Installing Rust
Installing wasm-bindgen
Installing wasm-pack and Twiggy
Home
Courses
Practical WebAssembly
Minimizing and Analyzing: An Important Aspect
Get introduced to the concepts we’ll learn in this chapter.
We'll cover the following...
Overview
...
Ask