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
Learn Javascript - 21 Essential Array MethodsCoursera Project Network via Coursera 3D Graphics for Web Developers
Pompeu Fabra University via FutureLearn A Simple Scatter Plot using D3 js
Coursera Project Network via Coursera Access WebView in an Android Studio Project
Coursera Project Network via Coursera Deployment Pipelines using GitHub Actions
A Cloud Guru