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

🧠 7 Ways Tech Can Improve Your Mental Health — YouTube Music Has One Feature No Streaming Service Can Compete With

Tuesday, December 3, 2024

Also: You Should Play More Simulation Games, and More! How-To Geek Logo December 3, 2024 Did You Know The candy name "Milk Duds" is rather literal. The candies were first produced in 1926

Free Webinar: Key Trends in 2025 🔮

Tuesday, December 3, 2024

Join us Dec 12th to explore key trends shaping 2025—geopolitics, tech, markets, and more. View Online | Subscribe | Download Our App FREE WEBINAR - December 12th, 11am PST 2025 Outlook: Key Trends on

Django Performance, pathlib, Poetry, and More

Tuesday, December 3, 2024

Django Performance: Scaling and Optimization #658 – DECEMBER 3, 2024 VIEW IN BROWSER The PyCoder's Weekly Logo Django Performance: Scaling and Optimization Performance tuning in the context of

Daily Coding Problem: Problem #1626 [Easy]

Tuesday, December 3, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Microsoft. Let's represent an integer in a linked list format by having each node

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

Charted | 30 Years of Global Equity Returns, by Region 🌎

Tuesday, December 3, 2024

The US has been the dominant global equity market as the top returning region for 10 years out of the past 15. View Online | Subscribe | Download Our App Presented by Brazil Potash Rising food costs

Invite your friends to read Code Story

Tuesday, December 3, 2024

Thank you for reading Code Story — your support allows me to keep doing this work. ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

Code Smell 282 - Bad Defaults and How to Fix Them

Tuesday, December 3, 2024

Top Tech Content sent at Noon! Advertise on this Newsletter! 50% off!! Read this email in your browser How are you, @newsletterest1? 🪐 What's happening in tech today, December 3, 2024? The

Issue 162

Tuesday, December 3, 2024

💰🪖 Silicon Valley's new gold rush: AI giants chase Pentagon dollars. US landlords caught using AI to fix rental prices. How China is stealing the world's semiconductor technology. ͏ ͏ ͏ ͏ ͏ ͏ ͏

How Apple Watch can predict illness

Tuesday, December 3, 2024

New AI browser; The case against Google; Cyber Monday leftovers -- ZDNET ZDNET Tech Today - US December 3, 2024 sample-image-16-9-red.jpg How to use your Apple Watch to predict when you may get sick