Go, WebASM and You

Belfast Gophers

Rebecca Martin

@laches1sm

Introduction

  • @laches1sm on the Twitters, and near enough everywhere
  • 6 months experience in Go
  • API developer @ Flexera (also 6 months)
  • Python/Java background

Before Go 1.11...

  • Ticket opened in the Golang repo in 2017, no real WebASM support before then
  • Then Go 1.11 came around...
  • Yay?

What is Web Assembly, anyway?

  • Portable target for compilation of high-level languages such as C/C++/Rust... and now Go
  • Allows deployment on the web for client and server applications
  • Designed to be efficient and fast
  • Memory safe

What is Web Assembly, anyway?

  • You can find more info on Web ASM at the official website:
  • https://webassembly.org/
  • In relation to Go....
  • https://github.com/golang/go/wiki/WebAssembly

What will Web ASM mean for Go web dev?

  • Go can be complied directly to the browser
    • gowasm project 
  • Sharing types with frontend and backend
  • Perfomance 
  • Memory usage 

What will Web ASM mean for Go web dev?

  • Security - as WebASM is designed to be secure
  •  Better than JavaScript...?

oh no question time

Made with Slides.com