Golang Weekly - Microsoft goes Go for SQL Server's CLI

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

Reflecting on Go Reflection — Truly a reflective opinion piece, and probably a divisive one too. As a programmer who chooses to use “the most mundane features” of any language, Go’s reflect package wasn’t on Neil’s list of things to try, but he “fell into the reflection pool” and.. he’s still not a fan.

Neil Macneale

I'm Glad I Did It in Go — Thorsten, author of Writing an Interpreter in Go, reflects on how Go was the right language for the book, eight years on.

Thorsten Ball

Elevate Your Backend Skills — Whether it's Python, Go, TypeScript, or AWS, you can gain fundamental knowledge across multiple programming languages, expanding your skillset via our growing range of learning paths and expert-led video courses.

Frontend Masters sponsor

sync.Map: The Right Tool for the Right Job — The latest in Phuong’s popular, illustrated guide to concurrency options in Go digs into sync.Map, a concurrency-safe map for reading and writing across multiple goroutines without requiring explicit locks. It’s not always the perfect choice, though, as he discovers.

Phuong Le

IN BRIEF:

Go Gets High-Resolution Timers on Windows“The Go Windows port added support for high-resolution timers in Go 1.23, boosting resolution from ~15.6ms to ~0.5ms.”

Quim Muntal (Microsoft)

Writing a Circuit Breaker in Go — When you need a mechanism to stop a failing operation being tried over and over, a circuit breaker provides a graceful way to detect failures and recover from them with a cooldown period.

Redowan Delowar

Using Go Embed — The go:embed directive, around since Go 1.16, allows you to embed static files into your binary. But did you know that you can embed entire directories or files into a struct?

Matt Boyle

Distributed Transactions in Go: Read Before You Try — How to approach transactions that need to span more than one service.

Miłosz Smółka

Product for Engineers: A Newsletter Helping Flex Your Product Muscle — Product for Engineers details the skills and strategies product engineers need to succeed.

PostHog sponsor

📄 Implementing OpenSSL-Backed Go Cryptographic Algorithms Derek Parker (Red Hat)

📄 Some Notes on Upgrading HugoHugo is a popular Go-based static site generator. Julia Evans

📄 Securing gRPC Services with JWT Authentication in Go Chris Shepherd

🛠 Code & Tools

Kamal 2: Thou Need Not PaaSKamal is a container-based deployment tool from 37Signals, best known for their work on Ruby on Rails. It’s language agnostic though, and ▶️ the screencast demo shows off deploying a simple Go app quickly, before moving on to a Ruby example. Certainly a viable new deployment option for Go apps on self-managed servers.

David Heinemeier Hansson

Sidekick: Bare Metal to Production Ready in Minutes — I haven’t tried this yet, but am itching to do so ASAP. Sidekick aims to give you a Fly.io-style single command deployment process out of the box for any VPS you have to hand. Inspired by Kamal (above) but is written in Go.

Mahmoud Mousa

📰 Classifieds

Hookdeck: Stripe-level DX for all your webhooks.


Learn how to build fine-grained authorization for your Go application using open-source software, directly from the founders and team behind SpiceDB.

go-pretty: Pretty Print Tables, Lists and Text on the Terminal — Utilities to prettify console output of tables, lists, progress-bars, text, etc. with a heavy emphasis on customization.

Naveen Mahalingam

Giu 0.9: A Dear ImGui-Based Cross Platform GUI Framework — Create GUI apps in Go on top of the Dear ImGui GUI library. v0.9 isn’t a big release but fleshes out the framework’s features and adds more documentation.

Allen Dang

Watermill: Library for Building Event-Driven Apps — A library for working with message streams (over numerous channels like Kafka, RabbitMQ, HTTP or even MySQL binlogs) to build event driven apps.

Three Dots Labs

xmlquery: An XPath Library for Querying XML Documents — For plucking out all elements with certain names or attributes, say.

antchfx

  • tk 9.0 – CGo-free cross platform GUI toolkit for Go, a la Tkinter.

  • River 0.13 – Fast and reliable Postgres-powered background jobs for Go.

  • OSV-Scanner 1.9 – Dependency vulnerability scanner.

  • go-github 66.0 – Client library for the GitHub v3 API.

  • Git Town 16.4 – Git branch management tool.

  • Ebiten 2.8.1 – Go's simple 2D game engine.

n

Older messages

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-

Why Go's telemetry is worth enabling

Tuesday, September 10, 2024

Plus the latest Go survey, live profiling, and how Go tests its test runner. | #​522 — September 10, 2024 Unsub | Web Version Together with Frontend Masters logo Go Weekly Share Your Feedback in the

Bubble Tea brews up a 1.0 release

Tuesday, September 3, 2024

Plus a Go-powered blogging system, text editor, and JavaScript runtime all walk into a newsletter.. | #​521 — September 3, 2024 Unsub | Web Version Together with Ardan Labs Go Weekly Go 1.23's New

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