WebAssembly with the Go Language
Learn how to compile and run Go WebAssembly programs in Node.js and the browser. Interact with JavaScript, manipulate the DOM, and optimize binary size.
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.
Course Content
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
User Reviews
Be the first to review “WebAssembly with the Go Language”
You must be logged in to post a review.
There are no reviews yet.