Golang Weekly - What's missing from Go's generics?

Plus Go 1.23.4 sounds nice, comparing templating approaches, and soft serve yourself a git server. |

#​535 — December 10, 2024

Unsub  |  Web Version

Together with  Frontend Masters logo

Go Weekly

🕒 Coming in Go 1.24: An Experiment for Time and Concurrency Testing — A look at another feature coming to Go 1.24 early next year. This time it’s the experimental testing/synctest package which opens up some added opportunities for testing code involving time or concurrency: “It seems that testing/synctest will significantly improve testing code that involves time or concurrency. At work, I’ve already tried it on some flaky tests like the ones above and it’s helped.”

Dan Peterson

What's Missing from Go's Generics? — Follow-up to an article we recently linked that posited that Go’s generics are ‘incomplete’ which spurred some lively discussion. Here, Nick responds to that discussion with specific features and how Go may or may not benefit from their inclusion.

Nick Tobey (DoltHub)

Master the Basics of Go — Join Maximiliano Firtman for this detailed video course covering the fundamentals of all things Go. You'll gain a thorough understanding of structures, goroutines, channels, async API calls, and much much more.

Frontend Masters sponsor

IN BRIEF:

Templ vs Gomponents vs html/template — A comparison of three view related libraries for Go, including old favorite html/template (which, perhaps unfairly, gets a one star rating).

Ewen Quimerc’h

📄 Building BLE Applications with BleuIO and Go – BLE meaning Bluetooth Low Energy, in this case. They have a device they’re trying to sell, but it’s interesting to get a basic look at the idea. BleuIO

📄 Data Structures as Jigs for Programmers (Go Edition) Daniel Lemire

📄 Mitigating SSRF Vulnerabilities in Go Liran Tal (Snyk)

📄 Disable Slog Messages in Go Tests Ben E. C. Boyter

🛠 Code & Tools

Soft Serve 0.8: A Self-Hostable Go-Powered Git Server — Another handy project from the folks at Charm. Soft Serve is a self-hostable Git server that offers up a nice terminal UI (TUI) over SSH, has various access control features for collaborative use cases, and even supports Git LFS.

Charm

⚙️ Orchestrion: Compile-Time Auto-Instrumentation for Go — Instrumenting code is tedious and inconsistent when done manually, but automating it is difficult. Enter Orchestrion, which injects instrumentation at compile-time and supports many third-party libraries so you can instrument your code, create tracers, etc. without changing the dev process.

Datadog Team

Zero Ops Apache Kafka Replication and Data Mirroring — Moving to WarpStream to reduce your Kafka costs by 80+% and simplify ops is easy with 1:1 replication provided by Orbit.

WarpStream sponsor

go-wasm-http-server 2.0: Embed Go HTTP Handlers in a Service Worker — Embed your Go HTTP handlers in a Service Worker using WebAssembly and emulate an HTTP server browser-side. Some of the examples might give you some inspiration.

Nicolas Lepage

Goverter: A Type-Safe Go Converter Generator — Generate type-safe converters by writing signatures of the type conversions and then Goverter will write the code you need to make it happen. GitHub repo.

Jannis Mattheis

Echo: Extensible, Minimalist Go Web Framework — Though it’s not too minimal, offering HTTP routing, automatic TLS, data binding, templating, middleware, and different ways to render data out of the box. v4.13.0 removes the JWT middleware from Echo core due to security issues. GitHub repo.

LabStack LLC

GTML: Make Writing HTML in Go a Breeze — This package touts itself with “Think of it like JSX for Go,” allowing you to take an HTML-like syntax and generate a StringBuilder that renders it in Go code.

Phillip England

📰 Classifieds

How Authorization fits into the Architecture of Secure AI RAG stacks? Watch AuthZed CEO Jacob Moshenko addressing this topic, and more with The Cube.


📬 Hookdeck: A serverless queue to reliably send, receive, transform, filter, and route events across your event-driven apps.


👋 Tired of failures and outages? Let Temporal keep your code running flawlessly. Start on Temporal Cloud with $1,000 in free credits.

gARM: An ARM64 Compiler for Go — The author thinks we can do better than Go’s assembly approach for high performance ARM64 use cases, so has set out to make his own approach. It's early days, however.

Sven Woldt

n

Older messages

Why Go slices throw up surprises

Tuesday, December 3, 2024

Plus a look forward to Go 1.24, and a Go-powered alternative to Google Analytics. | #​534 — December 3, 2024 Unsub | Web Version Together with Google Go Weekly The Draft Go 1.24 Release Notes — Last

What's coming in Go 1.24

Tuesday, November 26, 2024

Plus Brad Fitzpatrick on complexity and Go. | #​533 — November 26, 2024 Unsub | Web Version Together with Ardan Labs Go Weekly GoMLX: ML in Go without Python — Eli recently wrote about Go's

A Go-powered MIDI sequencer

Tuesday, November 19, 2024

Plus a big GoLand release, developing a terminal app with Bubble Tea, and reflecting on the history of Unix. | #​532 — November 19, 2024 Unsub | Web Version Together with Blacksmith Go Weekly Mailpit:

A very demure, very mindful issue

Tuesday, November 12, 2024

Plus a look at memory regions, Go's birthday, and we invent a brand new word. | #​531 — November 12, 2024 Unsub | Web Version Together with Frontend Masters logo Go Weekly Happy Birthday, Go! Go

Tools for writing secure Go code

Tuesday, November 5, 2024

Plus a look at the 'business' of Go, high performance crawling, and a little Go/Java comparison. | #​530 — November 5, 2024 Unsub | Web Version Together with pgAnalyze Go Weekly Writing Secure

You Might Also Like

Re: You're Invited: Free Photo Management Class

Tuesday, March 11, 2025

This is your last chance to register for tomorrow's live online Photo Management Class, Wednesday, March 12, at 4:30 pm ET! Sign up now to attend the FREE Photo Management Class The recent changes

BetterDev #275 - Tracking You from a Thousand Miles Away! Turning a Bluetooth Device into an Apple AirTag Without Root Privileges

Monday, March 10, 2025

Better Dev #275 Mar 10, 2025 Hi all, In the wave of ByBit exchange being hack for 1.6billion, and the hack is very sophisciated, exploit developer access key to change an s3 bucket. The attack start by

What's the goal of the goal & Tapbots is working on a Bluesky client

Monday, March 10, 2025

Capacities releases rewritten PDF viewer and new AI editor, Ghost teases larger update for its ActivityPub integration, clear communication, and more in this week's issue of Creativerly.

Ranked: | The World's Most Popular Programming Languages 🖥️

Monday, March 10, 2025

In 2024, Python surpassed JavaScript as the most popular programming language on GitHub for the first time. View Online | Subscribe | Download Our App Invest in your growth at Exchange 2025. FEATURED

GCP Newsletter #441

Monday, March 10, 2025

Welcome to issue #441 March 10th, 2025 News Infrastructure Official Blog Hej Sverige! Google Cloud launches new region in Sweden - Google Cloud has launched its 42nd cloud region in Sweden, providing

⚡ THN Weekly Recap: New Attacks, Old Tricks, Bigger Impact

Monday, March 10, 2025

State-sponsored hacking, IoT botnets, ransomware shifts—this week's cyber roundup covers it all. Stay informed, stay secure. Read now ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌

Beware AI voice cloning tools 🤖

Monday, March 10, 2025

Linux for your phone; Warner Bros. DVDs rot; GCal gets Gemini -- ZDNET ZDNET Tech Today - US March 10, 2025 Voice waveforms Most AI voice cloning tools aren't safe from scammers, Consumer Reports

⚙️ Google's AI plans

Monday, March 10, 2025

Plus: The DeepSeek alarm bells ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

Post from Syncfusion Blogs on 03/10/2025

Monday, March 10, 2025

New blogs from Syncfusion ® Convert PowerPoint to PDF in C# Using Advanced Formatting Options By Mohanaselvam Jothi Learn how to convert PowerPoint presentations to PDF with advanced options using the

😎 10 Weirdest Android Phones Ever — Why I Prefer Bixby to Google Assistant

Monday, March 10, 2025

Also: 3 Awesome Shows to Watch After "Fallout", and More! How-To Geek Logo March 10, 2025 Did You Know Despite their dog-like appearance, hyenas are more similar, phylogenetically speaking,