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

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

What's in an (Alias) Name? — Generic alias types are coming to Go 1.24 (expected in February 2025) in line with this proposal, building on both type aliases and generics. A major use case for type aliases is the ability to refactor without breaking compatibility. Robert explains the basics of type aliases and why bringing them to generics required extra work.

Robert Griesemer

Stuck on What to Build? Guided Learning with Real Projects — Todo apps are for AI. Build a real-life project and master advanced backend patterns. Code hands-on in your IDE, no videos. Over 800 devs have joined us to create asynchronous event-driven software that solves real problems. Next cohort starts soon.

Three Dots Labs sponsor

Sets in Go: Using Maps and Recommended Packages — Go hasn’t got a native data type for sets, but maps can help you implement your own, as well as packages like golang-set. Willem shows us how.

Willem Schots

Go's Singleflight Melts in Your Code, Not in Your DB — The last post in a series on concurrency describes singleflight, a non-core package (that’s maintained by the Go team) that ensures a function is only run once and its result reused by later callers. There are loads of use cases, especially around database access.

Phuong Le

IN BRIEF:

Developing a Go Bot That Embeds Ichiban PrologIchiban Prolog is a Go-powered implementation of the Prolog logic programming language and opens up the power of the language directly within Go apps. Here’s one specific use case.

Roger Sen

Register Allocation in the Go Compiler — Vladimir maintains GCC’s register allocator system and struggled to find docs on how Go does it, so he went diving into Go’s source code. This is deep stuff, but long story short, he likes Go’s approach: “the current Go RA is a well-designed and creative RA.”

Vladimir Makarov (Red Hat)

🛠 Code & Tools

Revive 1.4: A Faster, Configurable, Flexible Linter for Go — A drop-in replacement of golint that aims to provide a little more structure, configurability, and performance. It’s used by numerous large Go projects and libraries. GitHub repo.

Minko Gechev

Counterfeiter: Generate Self-Contained, Type-Safe Test Doubles — More quickly generate fake implementations of an object’s collaborators.

Max Brunsfeld

Streamline Your Product Delivery with monday dev — From ideation to launch, monday dev makes product delivery faster and simpler, all in one place.

monday dev sponsor

Rueidis: A Fast Redis Client with Caching and More — A Redis client focused on performance, supporting auto-pipelining of non blocking commands, client-side caching implemented the official way, and support for Redis’s many official extensions. Being hosted under Redis’ official GitHub org is also quite the endorsement.

Rueian

caddy-exec: Caddy Module for Running One-Off CommandsCaddy is the fantastic Go-powered HTTP(S) server (we love it here) and this extension makes it possible to trigger commands either during startup/shutdown or via a route.

Abiola Ibrahim

go2type: A Go to TypeScript API Client Generator — Simple CLI tool that generates types and queries for frontends for Go backends.

dx314

📰 Classifieds

💰 Dragonfly (25k GitHub stars) is a modern Redis replacement. Organizations that switch to Dragonfly can reduce infrastructure costs by 80%.


🛠️ NewDevTools is a simple, daily update of new developer tools and services.

  • 👀 GoCV 0.38.0 – Bindings for the OpenCV computer vision library.

  • MongoDB Go Driver 1.17 – The official Go driver for MongoDB adds support for client authentication using OpenID Connect.

  • Buf 1.42 – CLI tool for working with Protocol Buffers. A big update introducing the ability to author custom lint and breaking change rules added with plugins.

  • automaxprocs 1.6 – Automatically set GOMAXPROCS to match Linux container CPU quota.

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

  • Goyave 5.3 – Enterprise REST API framework.

n

Older messages

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

Channels that channel channels?

Tuesday, August 27, 2024

Plus a big TinyGo release, and how Go can be your hammer for every nail. | #​520 — August 27, 2024 Unsub | Web Version Together with WorkOS Go Weekly Range Over Function Types in Go 1.23 — Go 1.23 was

The GopherCon UK experience

Tuesday, August 20, 2024

Plus Go 1.23's release, interesting Go quirks, and taking Go into notebooks. | #​519 — August 20, 2024 Unsub | Web Version 🏖️ If you missed last week's issue, don't worry - you didn't.

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