Getting started into Go and WebAssembly

sendilkumarn
3 min readAug 14, 2018

GoGo is an opensource programming language that makes it easy to build simple, reliable, and efficient software.

Why should I learn one more language, what is so exciting about Go ?

  • Simple and easy syntax
  • Concurrency
  • Fun to program in Go
  • Easy Networking
  • ~ Fast

and more

Coming back to our next hero in this story, WebAssembly

WebAssembly in simple language, is running your native code (C / C++ / Rust / Go ) in the browser. It is fast, secure and maintainable.

They are a set of binary instruction format that runs on any stack based machine.

There were several attempts made by browser vendors to run the native code in browser. The one thing that was widely popular was asm.js. But even it had many limitations.

WebAssembly is binary encoded instructions that are size- and load-time-efficient. They are secure and run on sandboxed environment.

Wait, isn’t Javascript fast. Yes it is, you can achieve ~native speed in Javascript. But, the work around and amount of effort that you have to spend is high. But with WebAssembly you can get this right out of the box.

--

--