Build and compile modules from any language to the web in this beginner-friendly introduction to Web Assembly! In this course, you'll learn foundational, low-level programming such as binary, hexadecimal, and all about how memory works within computers. By the end, you'll have dived into array buffers, memory management, and unsigned integers, as well as created Web Assembly modules with AssemblyScript.
Overview
Syllabus
- Introduction
- Why Web Assembly
- Binary Overview
- Hexadecimal
- Convert Hex & Binary with toString
- Memory
- Numeric Types
- Web Assembly & File Types
- Modules
- Your First Web Assembly
- Stack & OpCode
- Stack & OpCode Exercise
- Stack & OpCode Solution
- Writing Web Assembly
- AssemblyScript Setup
- Writing AssemblyScript
- Running AssemblyScript Wasm in Node
- Creating an AssemblyScript Wasm Loader
- Importing Wasm into the Browser
- Loading AssemblyScript Q&A
- Imports
- Debugging Wasm Modules & Defining Imports
- Importing the AssemblyScript Loader
- Using the __getString Function
- Memory in Web Assembly
- Read & Write to Shared Memory
- JavaScript Versus Web Assembly
- Wrapping Up
Taught by
Jem Young