#442 — January 6, 2023 |
|
The Go Weekly Newsletter |
Conc: Better Structured Concurrency for Go — Go’s concurrency story is a good one, but Conc aims to make it even safer and easier by providing abstractions for various concepts (think pools, concurrent mapping and iteration, and panic catching) and techniques so that goroutine leaks and unhandled panics can become a thing of the past. Sourcegraph |
Go 1.20 Cryptography — The second release candidate of 1.20 is out, and some key crypto changes land, with new implementations of some old (and vulnerable) packages, including a new ECDH package, a replacement for Filippo Valsorda |
Build Your Team’s Private Network with Tailscale — Tailscale makes it easy to connect all your team’s devices and development environments in a way that feels like magic. Now you can access remote devices and resources, and collaborate like never before. Tailscale sponsor |
IN BRIEF:
|
The Go Libraries That Never Failed Us: 22 Libraries You Need to Know — While there are other lists out there (the huge Awesome Go, for example), this one is tightly curated and only includes libraries they’ve used in production. Also, they’ve included some anti-patterns to avoid using the libraries incorrectly. Robert Laszczak (Three Dots Labs) |
Faster Go Code by Being Mindful of Memory — Arthur breaks down Day 6 of his Go-based Advent of Code solution from a performance perspective that highlights how to profile an application, or a function, followed by both simple and more advanced tweaks. Arthur Busser |
🛠 Code & Tools |
Wish 1.0: Makes Building SSH-Based Apps in Go Easier — If you want to build an app that users can Charm |
Pushup: A Page-Oriented Web Framework — Pushup has some great features including hot reload and support for htmx and inline partials, giving a lot of interactivity with minimal JS. Also, it compiles your app down to a single binary, so deployment is easy. It’s considered to be ‘preview, pre-release’ quality only right now, so try it and give feedback. GitHub repo. Paul Smith |
GopherLua 1.0: A VM and Compiler for Lua in Go — Want to add scripting capabilities to your Go app using one of the best known and trusted languages for the task? (That’s Lua, by the way..) This is a Lua 5.1-compatible VM and compiler that can also let you embed Lua support into Go host programs. Yusuke Inuzuka |
graphql-go 1.5.0: A GraphQL Server with a Focus on Ease of Use — “The goal of this project is to provide full support of the GraphQL draft specification with a set of idiomatic, easy to use Go packages.” Richard Musiol |
|
|