GopherJS 1.16 released

Jonathan Hall
GopherJS
Published in
1 min readApr 6, 2021

After lagging behind Go for about 2 years (since version 1.12), GopherJS 1.16.0+go1.16.3 has been released with Go 1.16 support!

GopherJS compiles Go code to pure JavaScript code (not WebAssembly). It’s main purpose is to give you the opportunity to write front-end code in Go, which will still run in all browsers, while allowing integration with existing JavaScript libraries.

This comes on the heels of a recent reorganization of the GopherJS community, and a resurgence of activity and interest in the project.

You can try out GopherJS without installing it by using the GopherJS playground.

GopherJS 1.16 is still lacking a couple important features of modern Go, which are on the roadmap. Most notably:

  • Go modules are not yet supported. You can still build with GOPATH mode, or use a workaround.
  • Go 1.16’s embed directive is still forthcoming.

For these features, as well as the upcoming support for Generics in Go 1.17, we would gladly welcome volunteers from the community!

--

--

Jonathan Hall
GopherJS
Editor for

The Tiny DevOps Guy ∞ You don't need 1,000 engineers to do world-class DevOps