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 #1586 [Hard]

Tuesday, October 22, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Airbnb. An 8-puzzle is a game played on a 3 x 3 board of tiles, with the ninth tile

Mapped | The Home Price-to-Income Ratio of Large U.S. Cities 🏘️

Tuesday, October 22, 2024

The top five large US cities have a home price-to-income ratio more than double the national average of 4.7. View Online | Subscribe | Download Our App Presented by Hinrich Foundation NEW REPORT:

Ushering In

Tuesday, October 22, 2024

Netflix's Theatrical Strategy • Blade Runner vs. Elon Musk • Disney vs. App Store • Anthropic's AI PC Control • AirPods Hearing Boost Ushering In Netflix's Theatrical Strategy • Blade

LW 155 - Optimizing Shopify Themes for Long Product Descriptions

Tuesday, October 22, 2024

Optimizing Shopify Themes for Long Product Descriptions ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ Shopify Development news and articles

Secure Your Election 2024 eBook at the Best Value Today ⏰

Tuesday, October 22, 2024

Stay informed with our visual guide to the US Presidential Election—exclusively for VC+ members, along with additional updates. View email in browser Now Available: The Visual Guide to the US Election

Startups of The Year: How To Vote

Tuesday, October 22, 2024

Top Tech Content sent at Noon! How the world collects web data Read this email in your browser How are you, @newsletterest1? 🪐 What's happening in tech today, October 22, 2024? The HackerNoon

JS0/JSSugar; converting CommonJS to ESM; top-level await in Node.js; Node.js v23.0.0; Bun v1.1.31;

Tuesday, October 22, 2024

We have 8 links for you - Stay up-to-date on JavaScript and tools Discussing JS0/JSSugar docs.google.com We linked to the JS0/JSSugar slides in last week's issue. We now have reactions to those

Gartner's 2025 tech trends: Adapt - and fast

Tuesday, October 22, 2024

iPhone 16 Camera Control secrets; Lyft Election Day discount; Best TVs -- ZDNET ZDNET Tech Today - US October 22, 2024 future-tunne-gettyimages-108356213 Gartner's 2025 tech trends show how your

⚙️ Microsoft, Google & AI Agents

Tuesday, October 22, 2024

Plus: Europeans would let an AI vote for them ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌