Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Programming WebAssembly with Zig - Getting Started with the Zig Programming Language

Chris Hay via YouTube

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

Reviews

Start your review of Programming WebAssembly with Zig - Getting Started with the Zig Programming Language

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.