More Powerful Go Execution Traces — Over the last two releases, the Go team has worked to fix and enhance execution tracing, resulting in a 10x drop in overhead and much more scalable traces. These enhancements have spawned two experimental features: the ability to constantly trace execution (i.e. so-called ‘flight recording’) and a trace reader API.
Michael Knyszek
|
Measuring a System’s Performance with Go — You can run up a benchmark in any programming language, but Go offers some features to make it relatively easy to measure CPU and memory performance, memory usage, and even dig into some of Go’s optimizations. Lots of examples here.
Daniel Lemire
|
Debugging a Go Bug with Non-Blocking Reads — A case where things acted differently on different operating systems, which led to a quick patch in Go. But, if you can’t wait, there’s a simple workaround.
Scratch Data
|
For Loops and More in Go — for loops may seem like a beginners' topic, but there’s a lot to understanding their full use. How do you handle multiple loop variables? When should you use label breaks? How do range loop semantics affect updating loop structs? Miki shows off some examples.
Miki Tebeka (Ardan Labs)
|
Valgo 0.3: An Expressive Validator Library — Type-safe and extensible validator library built upon generics. “Valgo differs from other validation libraries in that the rules are written in functions and not in struct tags. This allows greater flexibility and freedom when it comes to where and how data is validated.”
Cohesive Stack
|
Hugot: Hugging Face Transformer Pipelines in Go — A project with a goal of making it easy to run Hugging Face transformer pipelines from Go, without needing to call out to Python or external APIs (note it’s not pure Go – it leans on ONNX Runtime). It supports only ONNX models and a few pipelines so far.
Knights Analytics
|
Konf 1.0: A Flexible Configuration Loader — If you don’t want to be tightly coupled to any one source of configuration settings for your app, Konf might be for you – it’ll work with local sources like files and environment variables, but also with things like S3, AWS AppConfig, and GCP Secret Manager.
Kuisong Tong
|
-
wazero 1.7 – Zero dependency WebAssembly runtime for Go. A significant upgrade with the final release of a new optimizing compiler.
-
fx 33.0 – The popular JSON viewer and processor gains terminal autocomplete.
-
Toxiproxy 2.9 – TCP proxy to simulate chaotic network conditions.
-
Gonum 0.15 – Numeric libraries for Go (algebra, probability, etc.)
-
Resty 2.12 – Simple HTTP and REST client library.
-
SCS 2.8 – HTTP session management in Go.
-
go-ora 2.8.10 – Pure Go Oracle Database driver.
-
Bloom 3.7 – Bloom filter implementation.
|
|