Some signal boosting for Go

#​550 — April 16, 2025

Unsub  |  Web Version

🥚 We're taking a little break for Easter but didn't want to take the entire week off, so we have a slimline issue for you today :-) Back to full speed next Wednesday!
__
Peter Cooper, your editor

Go Weekly

Using Signals with GoSignals are asynchronous messages sent to processes to notify them of events like interrupts, crashes or termination, or to trigger certain behaviors. Most languages let you catch signals and act upon them, such as for shutting down a program gracefully, and Go is no exception.

Jon Calhoun

Complete Go for Professional Developers — Craft production-grade APIs with Go, the language trusted by tech giants! Connect to Postgres, implement auth, and write tests that matter. Taught by a Twitch ML engineer who solves real problems with Go daily.

Frontend Masters sponsor

Fuzzing Go Binaries with LibAFL — Built upon the Rust-powered LibAFL fuzzing library, GoLibAFL brings ‘state-of-the-art fuzzing techniques’ to Go developers. This post compares it to existing solutions, shows off some examples, and digs into how they tailored LibAFL for Go use cases.

Ollrogge and Produit

sync.Pool is Not a Silver Bulletsync.Pool can reduce allocations and GC pressure, but it’s not a drop-in solution for every case. Jens looks at where pooling shines (predictable, short-lived objects) and when it can backfire.

Jens Neuse

Hoard of the Rings: Extracting Data From a Cheap Activity Tracker — Tony picked up a cheap activity tracking (heartrate, steps, etc.) ring and figured out how to use TinyGo to read its outputs. A fun yet practical use for TinyGo!

Tony Smith

📄 Most People Overlook Go’s Concurrency Secrets Aryan Mehrotra

📄 Ten Commandments of Go John Arundel

🛠 Code & Tools

Mockery v3: Create Mock Implementations of Interfaces — With the very bold claim of Mockery v3 being able to make “obsolete all other interface-based code generation frameworks” in the Go world, the author has a good go at explaining why. If you’d rather just see the facts and give it a go, the homepage is a good place to start.

Landon Clipp

Bufstream: Robust Streaming for gRPC — Meet a cloud-first Kafka implementation custom-built for go gRPC streams. Plus, Bufstream is Jepsen‑tested.

Buf sponsor

Vite Backend Integration for Go — A way to integrate a Vite-based frontend with a Go-based backend app.

Oliver Eilhard

  • Fyne 2.6 – Cross platform GUI toolkit in Go. v2.6 introduces a new threading model that makes it a lot faster.

  • AWS Lambda for Go 1.48 – Samples & tools for Go devs building on AWS Lambda.

  • pgxmock v4.7.0 – Simulate pgx behavior in tests without a real DB connection.

  • go-git v5.16.0 – Extensible Git implementation written in pure Go.

  • Revive 1.9 – Fast, configurable, extensible, flexible linter for Go.

  • Mongo DB Driver 2.2 – The official Go driver for MongoDB.

📢  Elsewhere

A quick roundup of some other interesting updates or useful resources in the broader developer landscape:

  • Miguel Young de la Sota explains what a 'target triple' is (those things that look like x86_64-unknown-linux and explain what architecture and OS a binary is targeting). Go gets a big mention due to its native support for cross compiling, but the author isn't particularly impressed with Go's approach to targeting.

  • The MITRE-managed Common Vulnerabilities and Exposures (CVE) program is coming to an end this month due to a cut in DHS funding. However, The CVE Foundation has been rapidly created to carry on its essential cybersecurity work.

  • 📘 Dr. Axel Rauschmayer has released Exploring TypeScript: TS 5.8 Edition – you can buy it, but also read it all online for free in HTML form.

  • 🤖 Last week, Google unveiled Firebase Studio, an online agentic AI development environment somewhat akin to things you might have seen from v0, Cursor or Lovable.

  • I rarely need to work with modern graphics or Web design techniques, but this look at creating a flowing WebGL gradient is a fascinating breakdown of using math and modern Web technologies to create a plasma effect.

https://golangweekly.com/issues/550

Utworzony 6d | 16 kwi 2025, 19:20:04


Zaloguj się, aby dodać komentarz