GopherJS 1.16 released!

80 views
Skip to first unread message

Jonathan Hall

unread,
Apr 6, 2021, 8:28:14 AM4/6/21
to golang-nuts

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!

Reply all
Reply to author
Forward
0 new messages