Golang Weekly - Going supersonic

Plus Go remains popular in pull requests, a CP/M emulator, and, sure, Go isn't Java. |

#​505 — April 30, 2024

Unsub  |  Web Version

✍️ It's been a quiet week for big Go related news, but we still have a bumper issue because we have so many things we didn't get around to including earlier ;-) Here we go..!
__
Your editor, Peter Cooper

Together with  Stytch logo

Go Weekly

Sonic: A Newly Open Sourced Low Latency Network and I/O Library — Not to be confused with the eponymous blogging tool or JSON library, this Sonic is an asynchronous network and I/O library for Go, newly open sourced by a company specializing in trading infrastructure. “Sonic is an alternative to the net package. It removes the need to use multiple goroutines to handle multiple connections and reads/writes in the same process.” GitHub repo.

Talos

Stytch: Auth0 Alternative for AuthN, AuthZ, Fraud Prevention — Use Stytch for enterprise-grade multi-tenant B2B auth with SSO, RBAC, and SCIM. Use pre-built UIs, go headless, or integrate directly with the API. Plus, Stytch has device fingerprinting built-in to detect bots and prevent abuse. Get started free.

Stytch sponsor

The Two Reasons I Prefer Passing Struct Pointers Around — When passing structs to functions, how do you decide whether or not to use a pointer? Preslav has some solid criteria inspired by the principles of domain-driven design that may give you a new, more maintainable approach.

Preslav Rachev

QUICK BITS:

Go is Not Java — If you're in the mood for a bit of a rant, this might scratch that itch. The post also contends that, per the creator of object orientation, Go may be even more OO than Java or C++.. (a topic David Wickes also wrote about recently).

Jarrod Roberson

Tokens for LLMs: Byte Pair Encoding in Go — Tokens are fundamental to LLMs, so understanding how they’re encoded and decoded can help you better understand how LLMs work too.

Eli Bendersky

📄 Making an LSP Server in Go Ewen Le Bihan

📄 Mastering Maps in Go: Everything You Need to Know Ivan Sharapenkov

📄 Under the Hood of HTTP Request Multiplexing in Go Akshay Kumar

📄 Storing Data in Control Flow Russ Cox

📄 Running Go Code from Elixir with WebAssembly Yasoob Khalid

📺 Optimizing Go Code for the CPU Cache William Moran

🛠 Code & Tools

Konf 1.1: A Flexible Configuration Loader — Load config settings from all sorts of places, from local sources like files and environment variables, to platforms like S3, AWS Parameter Store, AWS AppConfig, and GCP Secret Manager. v1.1 adds support for change notification via AWS SNS, GCP PubSub, and Azure Service Bus.

Kuisong Tong

Gohalt: A General Purpose Throttling Library — You could use this to build throttling pipelines, rate limiters, etc. We’re digging the gopher logo on this one. Now with Go 1.22 support.

Kostiantyn Masliuk

Securing a Golang App with OAuth — This tutorial will show you how to use OAuth to authenticate users in a Golang application. Happy coding!

FusionAuth sponsor

gorush: A Push Notification Server, Built on Gin — Supports APNS (Apple Push Notification Service), Firebase, and HMS Push Server (Huawei).

Bo-Yi Wu

Gotenberg 8.5: Docker-Powered Stateless API for Creating PDF Files — A Go-powered system that offers a developer-friendly API for converting numerous document formats into PDF files. GitHub repo.

Gotenberg Inc.

Awesome Ebitengine: A Curated List of Ebitengine ResourcesEbitengine is a popular, powerful 2D graphics and gamedev API for Go and this list is packed with games written with it, libraries to use with it, and more.

Artem Sedykh

  • quic-go 0.43 – Pure Go QUIC implementation. A small step for a release, but a giant leap for its new documentation site!

  • Redka 0.3 – Redis re-implemented with SQLite. v0.3 says hello to sorted sets.

  • pdfcpu 0.8 – Go PDF processor. PDF 2.0 encryption is now supported.

  • Traefik 3.0 – HTTP reverse proxy and load balancer. One of the biggest Go-based projects.

  • Gum 0.14 – Go-powered shell scripting utilities by Charm.

📰 Classifieds

Check out full line code completion in GoLand: locally-run bundled AI completion. It is a perfect way to get a taste of the AI experience!


🪝 Hookdeck: a serverless queue for your event-driven applications. Learn more.

🎁 And one for luck..

goread 1.6.5: A Terminal-Based RSS/Atom Feed Reader — Built using the Bubble Tea TUI framework. You can drop https://golangweekly.com/rss into it if you want to test it out ;-)

Adam Piaseczny

n

Older messages

Bringing PGO to the build pipeline

Tuesday, April 23, 2024

Plus how Go grew at Google, cmp.Or, and ways to visualize makefiles, Go binaries, and live Go processes. | #​504 — April 23, 2024 Unsub | Web Version Together with Three Dots Labs Go Weekly How Dolt

The latest Go developer survey results are in

Tuesday, April 16, 2024

Plus lots of database stuff, a new Go book is in print, and a Minesweeper implementation. | #​503 — April 16, 2024 Unsub | Web Version If you wondered why you didn't get an issue last week, we took

Go 1 turns twelve

Tuesday, April 2, 2024

Plus discussing debugging approaches, optimizing SQLite and brute force searches, and getting brain freeze with Charm. | #​502 — April 2, 2024 Unsub | Web Version 🐣 A quick note to say Go Weekly is

No-one likes a leaky goroutine

Tuesday, March 26, 2024

Plus a 3D raycasting engine on top of Ebitengine. | #​501 — March 26, 2024 Unsub | Web Version Together with Ardan Labs Go Weekly Learning Go in 2024; From Beginner to Senior — Go learning resources

Flight recording for Go apps

Tuesday, March 19, 2024

Plus fail-safe HTTP clients, Hugging Face transformers in Go, and writing better READMEs. | #​500 — March 19, 2024 Unsub | Web Version Together with Three Dots Labs Go Weekly More Powerful Go Execution

You Might Also Like

JSter #238 - Libraries and more

Tuesday, March 4, 2025

I feel the need - the need for JavaScript. It's less than three months until Future Frontend (27-28.5, Espoo, Finland). It's not going to be a big conference (~200 people) but that's just

Master the New Elasticsearch Engineer v8.x Enhancements!

Tuesday, March 4, 2025

Need Help? Join the Discussion Now! ㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤ ㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤ ㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤ elastic | Search. Observe. Protect Master Search and Analytics feb 24 header See

Daily Coding Problem: Problem #1707 [Medium]

Monday, March 3, 2025

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Facebook. In chess, the Elo rating system is used to calculate player strengths based on

Simplification Takes Courage & Perplexity introduces Comet

Monday, March 3, 2025

Elicit raises $22M Series A, Perplexity is working on an AI-powered browser, developing taste, and more in this week's issue of Creativerly. Creativerly Simplification Takes Courage &

Mapped | Which Countries Are Perceived as the Most Corrupt? 🌎

Monday, March 3, 2025

In this map, we visualize the Corruption Perceptions Index Score for countries around the world. View Online | Subscribe | Download Our App Presented by: Stay current on the latest money news that

The new tablet to beat

Monday, March 3, 2025

5 top MWC products; iPhone 16e hands-on📱; Solar-powered laptop -- ZDNET ZDNET Tech Today - US March 3, 2025 TCL Nxtpaper 11 tablet at CES The tablet that replaced my Kindle and iPad is finally getting

Import AI 402: Why NVIDIA beats AMD: vending machines vs superintelligence; harder BIG-Bench

Monday, March 3, 2025

What will machines name their first discoveries? ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

GCP Newsletter #440

Monday, March 3, 2025

Welcome to issue #440 March 3rd, 2025 News LLM Official Blog Vertex AI Evaluate gen AI models with Vertex AI evaluation service and LLM comparator - Vertex AI evaluation service and LLM Comparator are

Apple Should Swap Out Siri with ChatGPT

Monday, March 3, 2025

Not forever, but for now. Until a new, better Siri is actually ready to roll — which may be *years* away... Apple Should Swap Out Siri with ChatGPT Not forever, but for now. Until a new, better Siri is

⚡ THN Weekly Recap: Alerts on Zero-Day Exploits, AI Breaches, and Crypto Heists

Monday, March 3, 2025

Get exclusive insights on cyber attacks—including expert analysis on zero-day exploits, AI breaches, and crypto hacks—in our free newsletter. ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌