Why Go slices throw up surprises

#​534 — December 3, 2024 Unsub  |  Web Version Go Weekly The Draft Go 1.24 Release Notes — Last week, we enjoyed Daniel Martí’s slidedeck on what’s coming in Go 1.24 early in 2025 – we’ve now noticed the draft release no...

Union types ('enum types') would be complicated in Go

Gotcha: `PersistentPostRunE` only runs on successful commands in Cobra

In my recent post Lessons learned adding OpenTelemetry to a (Cobra) command-line Go tool, I wrote about how you can wire in OpenTelemetry to a command-line tool built with Cobra. In it, I noted that to do so, you can use the PersistentPreRunE and PersistentPostRunE. However, this...

Side Projects Reverie

A short reflection on side projects, and how I do them.

What's coming in Go 1.24

#​533 — November 26, 2024 Unsub  |  Web Version Go Weekly GoMLX: ML in Go without Python — Eli recently wrote about Go’s suitability as a glue language for calling out to third party machine learning services and Python ‘side...

Scalable JSON Streaming with HTTP and Go - Ep.5

Introduction: Welcome to the final episode of the JSON for Engineers series! In this concluding session, we tackle the challenges of working with large JSON datasets, exploring efficient strategies for streaming data while minimizing memory usage. These techniques enable develope...

GoMLX: ML in Go without Python

In the previous post I talked about running ML inference in Go through a Python sidecar process. In this post, let's see how we can accomplish the same tasks without using Python at all. How ML models are implemented Let's start with a brief overview of how ML models are …

Fearless Concurrency Ep.6: Understanding Rust ARC for Efficient Multithreading

Introduction: Welcome to Episode 6 of the Fearless Concurrency in Rust series! In this episode, we explore the powerful concept of ARC (Atomic Reference Counting) and its critical role in managing shared resources in multithreaded Rust programs. By leveraging ARC, developers can...

Two API styles of doing special things involving text in UIs

Rust and Go vs everything else

Alex Pliutau and I discuss what Go programmers should know about Rust, and why the two languages make perfect partners.