Golang Weekly - Are single letter variables that bad?

Plus we talk gRPC, logical replication, high speed packet sending, and even un peu de Français... |

#​499 — March 12, 2024

Unsub  |  Web Version

Together with  Ardan Labs

Go Weekly

High-Speed Packet Transmission in Go: From net.Dial to AF_XDP — How can you send as many packets per second as possible from a Linux machine using Go? Andree wanted to find out. As he says, “it should be a fun read if you like networking, Go, and benchmarking”, but you can go straight to the code, if you prefer.

Andree Toonk

📉 The One Billion Row Challenge in Go: From 1m45s to 3.4s in Nine Solutions — We linked to the One Billion Row Challenge in issue 497, but here Ben gets much closer to the fastest Java solution and walks through each optimization clearly.

Ben Hoyt

Go! Experts at Your Service — Do you need help filling skill gaps, speeding up development & creating high performing software with Go, Docker, K8s, Terraform and Rust? We’ll help you maximize your architecture, structure, tech-debt and human capital.

Ardan Labs Consulting sponsor

Go 1.22.1 and Go 1.21.8 Released — As we suggested last week, these Go releases indeed landed soon after we published, but they’re still worth being on your radar as they include security fixes for issues in crypto/x509, net/http, net/http/cookiejar and html/template.

Michael and Carlos for the Go Team

The Missing Type in the Go Standard Library: Date? — The standard library offers a single type for both dates and times which can cause issues when timezones or certain types of interactions get involved. Hardfin has created a package, go-date, to take date representations a little further.

Danny Hermes (Hardfin)

QUICK BITS:

Creating a Postgres Logical Replication System in Go — The folks behind the (Go-powered) Dolt database are working on a feature to replicate data from Postgres and share what they’ve learnt so far in this detailed post.

Zach Musgrave (Dolthub)

The Dysfunctional Options Pattern — How to set optional configs without 'cooking up lasagna layers of functional indirections,' by way of a more builder-like approach.

Redowan Delowar

Tuple 'Makes Pair Programming with Co-Workers and Friends Fun Again' — Try Tuple for free and find out why staff engineers at Figma can't stop talking about Tuple.

Tuple sponsor

A Few Modern git Commands and Features You Should Be Using
Martin Heinz

▶  Why I Switched from Python to Go for AI Deployment
Code in a Jiffy

🛠 Code & Tools

goqite: A Persistent Message Queue Library atop SQLite — Inspired by Amazon’s Simple Queue Service (SQS), goqite is a SQLite-backed persistent message queue for Go apps that lets you bring your own SQLite driver.

Maragu ApS

FormStream: A Streaming Parser for multipart/form-data — A streamer for multipart form data as commonly used on the Web to send file uploads. Offers wrappers for use with net/http, Echo, and Gin.

Shunsuke Wakamatsu

Yaegi 0.16.0: Yet Another Elegant Go Interpreter — A Go interpreter to enable Go to be used for scripting within other apps, interactive shells, or for quick prototyping. It boasts complete support of the Go spec too.

Traefik

🧬 SeqKit 2.8: A Go Toolkit for FASTA/Q File Manipulation — Perhaps only a handful of readers will find this useful but it’s neat to see Go being used in biochemistry. FASTA/Q are formats for storing nucleotide sequences, as used in DNA/RNA analysis. GATTACA!

Wei Shen

📰 Classifieds

🪝Hookdeck: A managed reliability & observability layer for webhooks & async messaging. Receive, transform, route, & deliver events at scale.


🐘 Postgres user? Check out our sister newsletter, Postgres Weekly.

🏏 CricLang: A Programming Language for Cricket Enthusiasts — Cricket, the ball game, not the insect. It’s an experimental DSL of sorts for modelling cricket related scenarios – a bit of fun!

Manthan Gupta

  • 🛠 Fx 32.0 – A powerful JSON viewer and processor for the terminal, that now supports YAML too! There's also a Docker image-based version now available.

  • Go-MySQL-Driver 1.8 – MySQL driver for database/sql.

  • 👄 Charm Lip Gloss 0.10 – Style definitions for nice terminal layouts.

  • Vitess 19.0 – Clustering system for horizontal scaling of MySQL.

  • Chroma 2.13 – Pygments-inspired syntax highlighter.

  • Vale 3.3 – A linter for natural language/prose.

  • Nuke 1.3 – Memory arena implementation.

  • TinyGo 0.31.2

n

Older messages

How things work at Charm

Tuesday, March 5, 2024

Plus another try at memory arenas, processing PDFs with Go, and some advice for new Go programmers. | #​498 — March 5, 2024 Unsub | Web Version Together with Tuple logo Go Weekly 📊 How I Keep Myself

Becoming the engineering manager of the Go team

Tuesday, February 27, 2024

Plus thinking about enums, colors, email testing, LLMs, and even jQuery.. | #​497 — February 27, 2024 Unsub | Web Version Together with Ardan Labs Go Weekly Robust Generic Functions on Slices — The

Go is popular.. again!

Tuesday, February 20, 2024

Plus a look at `goto`, and reflecting on Go 1.22's http.ServeMux enhancements. | #​496 — February 20, 2024 Unsub | Web Version Together with Tuple logo Go Weekly The HTTP Routing Enhancements in Go

The one with Go 1.22 everywhere

Tuesday, February 13, 2024

Plus feeding a hungry mouse, why to start with the standard libraries, and how Mat Ryer writes Go HTTP services after all these years. | #​495 — February 13, 2024 Unsub | Web Version Together with

'I don't scoff at 2% improvements'

Tuesday, February 6, 2024

Plus a brief history of dependency management in Go, and the Go survey is still open. | #​494 — February 6, 2024 Unsub | Web Version Together with Crunchydata Go Weekly Testing Out Profile-Guided

You Might Also Like

SRE Weekly Issue #423

Monday, May 6, 2024

View on sreweekly.com A message from our sponsor, FireHydrant: FireHydrant is now AI-powered for faster, smarter incidents! Power up your incidents with auto-generated real-time summaries,

⚠️ Avoiding AI Scams on Social Media — An Open Source Google Photos Alternative

Sunday, May 5, 2024

Also: Reviewing the Customizable Drop Mechanical Keyboard, and More! How-To Geek Logo May 5, 2024 📩 Get expert reviews, the hottest deals, how-to's, breaking news, and more delivered directly to

Daily Coding Problem: Problem #1432 [Medium]

Sunday, May 5, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This question was asked by Snapchat. Given the head to a singly linked list, where each node also has a “random”

PD#572 Good Ideas in Computer Science

Sunday, May 5, 2024

Ideas every programmer likes and why Garbage Collection and Object Oriented Programming don't count ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

RD#454 API Layer & Fetch Functions

Sunday, May 5, 2024

ixing API and UI code quickly leads to messy and unmaintainable code ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

The Shiny Toy Syndrome & Tiny macOS utility apps I love

Sunday, May 5, 2024

Lex launching its redesign, Raycast shares another monthly update packed with AI updates, prompts should be designed not engineered, and a lot more in this week's issue of Creativerly. Creativerly

Hyundai antes up $1B for AV startup Motional and Elon unplugs the Tesla Supercharger team

Sunday, May 5, 2024

Plus, layoffs come for Luminar, Fisker and Ola View this email online in your browser By Kirsten Korosec Sunday, May 5, 2024 Image Credits: Motional Welcome back to TechCrunch Mobility — your central

C#504 Adventures serializing absolutely everything in C#

Sunday, May 5, 2024

A fantastic journey porting Newtonsoft.Json to System.Text.Json ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

Sunday Digest | Featuring 'Which City Has the Most Billionaires in 2024?' 📊

Sunday, May 5, 2024

Every visualization published this week, in one place. Visual Capitalist Sunday Digest logo May 5, 2024 | View Online | Subscribe | VC+ The Best of This Week's Visuals Presented by Voronoi: The

The dark side of startup accelerators

Sunday, May 5, 2024

Plus: No easy solution to AI hallucinations View this email online in your browser By Anthony Ha Sunday, May 5, 2024 Image Credits: Bryce Durbin This Week, TechCrunch dug into the struggles at two