WebAssembly with the Go Language
Offered By: egghead.io
Course Description
Overview
Go is a server-side language, but today we can compile Go code to WebAssembly as well - making it possible for us to bring programs written in minimalistic Go code into the browser!
With this collection, we will learn how to compile and run Go WebAssembly programs in Node.js and the browser, and how our Go code can interop with JavaScript and manipulate the DOM. We will also talk about configuring our VS Code workspace and optimizing the Go WASM binary size.
With this collection, we will learn how to compile and run Go WebAssembly programs in Node.js and the browser, and how our Go code can interop with JavaScript and manipulate the DOM. We will also talk about configuring our VS Code workspace and optimizing the Go WASM binary size.
Syllabus
- Compile and execute a Go WebAssembly program with Node
- Optimize Go WebAssembly binary size with TinyGo
- Manually load a Go WebAssembly binary in a browser
- Configure Go Build Constraints in VS Code to work with WebAssembly
- Access JS Functions and Variables from a Go WebAssembly Program
- Interact with the DOM using Go's `syscall/js` module
- Call a Go WebAssembly function from JavaScript
Taught by
Xiaoru Li
Related Courses
Go Serverless with a Graph DatabaseA Cloud Guru System Tooling with Go
A Cloud Guru Aprendiendo a programar en Go
Coursera Project Network via Coursera Learn Go
Codecademy Learn Go: Conditionals
Codecademy