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

Youre Overthinking It

Wednesday, January 15, 2025

Top Tech Content sent at Noon! Boost Your Article on HackerNoon for $159.99! Read this email in your browser How are you, @newsletterest1? 🪐 What's happening in tech today, January 15, 2025? The

eBook: Software Supply Chain Security for Dummies

Wednesday, January 15, 2025

Free access to this go-to-guide for invaluable insights and practical advice to secure your software supply chain. The Hacker News Software Supply Chain Security for Dummies There is no longer doubt

The 5 biggest AI prompting mistakes

Wednesday, January 15, 2025

✨ Better Pixel photos; How to quit Meta; The next TikTok? -- ZDNET ZDNET Tech Today - US January 15, 2025 ai-prompting-mistakes The five biggest mistakes people make when prompting an AI Ready to

An interactive tour of Go 1.24

Wednesday, January 15, 2025

Plus generating random art, sending emails, and a variety of gopher images you can use. | #​538 — January 15, 2025 Unsub | Web Version Together with Posthog Go Weekly An Interactive Tour of Go 1.24 — A

Spyglass Dispatch: Bromo Sapiens

Wednesday, January 15, 2025

Masculine Startups • The Fall of Xbox • Meta's Misinformation Off Switch • TikTok's Switch Off The Spyglass Dispatch is a newsletter sent on weekdays featuring links and commentary on timely

The $1.9M client

Wednesday, January 15, 2025

Money matters, but this invisible currency matters more. ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

⚙️ Federal data centers

Wednesday, January 15, 2025

Plus: Britain's AI roadmap ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

Post from Syncfusion Blogs on 01/15/2025

Wednesday, January 15, 2025

New blogs from Syncfusion Introducing the New .NET MAUI Bottom Sheet Control By Naveenkumar Sanjeevirayan This blog explains the features of the Bottom Sheet control introduced in the Syncfusion .NET

The Sequence Engineering #469: Llama.cpp is The Framework for High Performce LLM Inference

Wednesday, January 15, 2025

One of the most popular inference framework for LLM apps that care about performance. ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

3 Actively Exploited Zero-Day Flaws Patched in Microsoft's Latest Security Update

Wednesday, January 15, 2025

THN Daily Updates Newsletter cover The Kubernetes Book: Navigate the world of Kubernetes with expertise , Second Edition ($39.99 Value) FREE for a Limited Time Containers transformed how we package and