Golang Weekly - Speeding up with SIMD and Go assembly

Plus some Go code generation magic, test parallelism, and working with Excel spreadsheets. |

#​528 — October 22, 2024

Unsub  |  Web Version

Together with  Ardan Labs

Go Weekly

A Taste of Go Code Generator Magic: A Quick Guide to Getting Started — There aren’t many tutorials on Go code generation, which inspired the author to show how they created a program to generate boilerplate to wrap functions. You, too, could generate some code and free time.

Valentin Kiselev (Evil Martians)

Leveraging benchstat Projections in Go Benchmark Analysisbenchstat is a stdlib tool that compares and contrasts benchmark data generated by Go benchmark tests. This post brings you up to speed with what benchstat offers and why you might want to use it.

Bartek Płotka

Go Beyond Limits with Golang, Rust, Docker & K8s — Struggling with tech challenges? Ardan Labs offers unparalleled consulting in Go, Rust, Docker, and Kubernetes. Enhance your development speed, optimize your architecture, and manage tech debt. Propel your team to new heights with our expertise!

Ardan Labs Consulting sponsor

Speeding Up Calculations 450% with Go AssemblyGo’s assembler is heavily inspired by Plan 9’s (with Rob Pike and Ken Thompson, along with others, creating both). The author investigates using Go’s assembler to implement a particularly speedy SIMD (Same Instruction Multiple Data) library for Go. There’s also an interesting thread on Hacker News where Russ Cox (as rsc) adds some context.

Jacob Ray Pehringer

Optimizing and Visualizing Test Parallelism: Why More Cores Don't Speed Up Your Go Tests — You’re probably aware of t.Parallel() to run tests in parallel, but did you know it can sometimes slow tests down? Robert runs through some tools and tactics to help visualize and optimize tests and when to bother running them in parallel.

Robert Laszczak

🗓️ Enterprise Ready Conference — One-day event in SF for prod/eng leaders building enterprise SaaS — with speakers from OpenAI, Vanta, Canva, Dropbox.

WorkOS sponsor

📄 The Magic of the internal Folder – A tidy way to include things in a package that you don’t want other modules to depend on. Matt Boyle

📄 Three Easy Ways to Add a Version Flag in Go – All straightforward, but the author has a definite favorite. Jerry Ng

📄 How I Wrote Express-Go in 19 HoursGopherLight is an Express.js inspired framework, but for Go. Bruno Ciccarino

📄 How to Deploy a Gin App on Railway – A new guide for the Railway app deployment platform. Railway

🛠 Code & Tools

Excelize 2.9: A Pure Go Way to Work with Excel Spreadsheets — Read and write XLAM / XLSM / XLSX / XLTM and XLTX files. A long time library that keeps going from strength to strength. v2.9 is focused on details and rolls out numerous new functions in a variety of areas like working on charts and image-based cells. GitHub repo.

QI-ANXIN GROUP

htmgo 1.0: Build Simple, Scalable System with Go and htmx — An interesting way to combine the simplicity of both Go and htmx to quickly build interactive webapps. We mentioned it a few weeks ago, but it’s now at version 1.0 and considers itself ‘stable.’

maddalax

📰 Classifieds

🤖 Control Rag Access with SpiceDB's Fine-Grained Permissions in Go and Open Source.


🎓 Join this course to learn the basics of Temporal and use Temporal’s Go SDK to build an app that communicates with an external service.

ogen 1.5: OpenAPI v3 Code Generator for Go — Best explained in its introductory blog post, ogen generates client and server implementation code from an OpenAPI spec. GitHub repo.

tdakkota and Aleksandr Razumov

gh-dash 4.7: A CLI-Based Dashboard for GitHub — A TUI app for displaying a dashboard of pull requests and issues filtered however you like.

Dolev Hadar

Sablier 1.8: An API for Running Containers on Demand — .. and shutting them down automatically once there’s no activity.

Alexis Couvreur

n

Older messages

Pure Go HTML view components

Sunday, October 20, 2024

Plus a new tool to generate Go projects, making your network worse deliberately, and Russ Cox on passing on the Go torch. | #​527 — October 15, 2024 Unsub | Web Version Together with Blacksmith Go

Microsoft goes Go for SQL Server's CLI

Tuesday, October 8, 2024

Plus new ways to deploy Go apps, reflecting on reflection, and Windows gets high resolution timers in Go. | Together with Frontend Masters logo #​526 — October 8, 2024 Unsub | Web Version Go Weekly

A compile-time function evaluation experiment

Tuesday, October 1, 2024

Plus Go's great garbage collection guide, a dependency visualizer, and a Go-powered hex editor. | #​525 — October 1, 2024 Unsub | Web Version Together with WarpStream Go Weekly Prep: Compile-Time

A type by any other name would smell as sweet..

Tuesday, September 24, 2024

Plus both WIRED and the ACM take a look at Go, scripting Go with Prolog, and a faster linter for Go code. | #​524 — September 24, 2024 Unsub | Web Version Together with Three Dots Labs Go Weekly

Go's great for working with LLMs

Tuesday, September 17, 2024

Plus running Go in the browser, using Go for scripting, and Go's ranking against other languages. | #​523 — September 17, 2024 Unsub | Web Version Together with WorkOS Go Weekly Building LLM-

You Might Also Like

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. ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌

⚙️ AI price war

Monday, March 3, 2025

Plus: The reality of LLM 'research' ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

Post from Syncfusion Blogs on 03/03/2025

Monday, March 3, 2025

New blogs from Syncfusion ® AI-Driven Natural Language Filtering in WPF DataGrid for Smarter Data Processing By Susmitha Sundar This blog explains how to add AI-driven natural language filtering in the