Speeding up with SIMD and Go assembly

#​528 — October 22, 2024

Unsub  |  Web Version

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

https://golangweekly.com/issues/528

Creată 2mo | 22 oct. 2024, 17:20:18


Autentifică-te pentru a adăuga comentarii