Member-only story
How To Write A WebAssembly App in Go
Use the power of Go to improve your web application performance.
For a long time, JavaScript has been the only programming language the browser understands and it delivers the performance that most web applications needs.
But it can have some performance issues when we are talking about more intensive use, like 3D games, computer vision, and image editing.
WebAssembly is meant to solve this problem.
What is WebAssembly?
As put by the official website:
WebAssembly (abbreviated Wasm) is a binary instruction format for a stack-based virtual machine. Wasm is designed as a portable compilation target for programming languages, enabling deployment on the web for client and server applications.
But what does it mean?
It means you can compile a code written in C or Rust, for example, and execute it on the browser, at near-native speed.
You can reuse that old code you have and be able to run it on your browser, as it was a web application.

