Overview
Explore the ZIG programming language and WebAssembly in this comprehensive tutorial video. Learn how to install ZIG, create a "Hello World" program, and experience the language's rapid compilation. Develop a math library and compile it into WebAssembly, then execute the resulting WASM in Node.js. Convert WebAssembly from WASM to WAT format and analyze the disassembled code. Discover how to use WASI, WASM, and WASMER to run ZIG WASM independently. Gain insights into creating both native applications and WebAssembly applications/libraries for browser or server-side use with ZIG.
Syllabus
- introduction
- installing ZIG
- hello world
- super fast ZIG compilation
- creating a math library
- compiling our ZIG math library in webassembly
- executing our wasm library in node.js
- converting our webassembly from wasm to wat
- analyzing our dissassembled webassembly in WAT webassembly text format
- using WASI, WASM and WASMER to run our ZIG WASM independently
- conclusion
Taught by
Chris Hay