Golang Weekly - A closer look at Go 1.22

Plus a GUI for execution traces, and finding harmony with Discord. |

#​491 — January 16, 2024

Unsub  |  Web Version

Together with  Dragonfly

Go Weekly

Initial Thoughts on Go 1.22 — 1.22 is due next month, but the release candidate gives us a look at plenty of changes and improvements coming down the pike, including new default behavior for loop variables in for loops, the ‘rangefunc’ experiment (more on that next), and even some performance improvements.

Jason Fulghum (DoltHub)

The Rangefunc Experiment — The Go team is investigating the addition of range-over function iterators to Go, with 1.22 getting a preliminary implementation behind an environment variable. They want feedback on how it works and this page shows off the detail. (You’ll need the 1.22 RC or later to try this now.)

The Go Wiki

Redis With Wings — Dragonfly is a simple, performant, and cost-efficient in-memory data store, perfect as a cache or database for your high-performance Go apps. Dragonfly is fully compatible with Redis APIs but without the Redis management complexity.

Dragonfly sponsor

What’s New in Go 1.22: reflect.TypeFor — Carlana continues our train of Go 1.22 items with a look behind the scenes of the implementation of reflect.TypeFor, which she worked on.

Carlana Johnson

QUICK BITS:

How Do You Represent a JSON Field That Could Be Absent, null or Have a Value? — Why it’s surprisingly hard to work out if a field has been sent or whether it’s explicitly null when using encoding/json, plus a new library to help with the problem.

Jamie Tanna

Using React with templ in Go — A tutorial on how to incorporate React’s rich ecosystem of components as 'islands of interactivity' embedded within the server-side rendering capabilities of Go and templ.

Adrian Hesketh

'Sign in with Google' in Go — A quick look at implementing a ‘Sign-in with Google’ authentication method for your app.

Eli Bendersky

▶  Memory Management in Go: The Good, the Bad and the Ugly — Stays reasonably high-level and accessible.
Liam Hampton

Go Test Doubles by Example
Amin Rashidbeigi

🛠 Code & Tools

Gotraceui: GUI Frontend for Go Execution Traces — Meant to be a faster, more accessible, and more powerful alternative to go tool trace with a Gio UI-powered interface tuned specifically to the unique characteristics of Go traces. Now with added flame graphs 🔥 GitHub repo.

Dominik Honnef

Try a Lightning-Fast Pairing Tool Built with You in Mind — Tuple will change the way you think about pair programming. Try it with your team free for 14 days, no card required.

Tuple sponsor

Avo 0.6: Generate x86 Assembly with Go — Makes assembly easier to write by way of Go control structures and virtual registers. An example of adding two numbers shows off how it works in a simple way. v0.6 adds support for more AVX instructions and improves Go 1.20+ support.

Michael McLoughlin

Algnhsa 1.1: AWS Lambda net/http Server Adapter — Run Go webapps serverlessly on AWS Lambda with API Gateway or ALB without changing existing HTTP handlers.

Artem Krylysov

Harmony: A 'Peaceful' Module for Using Discord's API — When I first linked this years ago, I wrote Discord is a popular chat app, particularly in gaming communities.” Imagine needing to be told that nowadays.. 😆

Antoine Couchard

📰 Classifieds

🪝 Receive, authenticate, transform, filter, route, and deliver webhooks with the Hookdeck Event Gateway. Try the receiving webhooks quickstart.


🗓️ GopherCon Europe is taking place this February (next month!) and June in Athens, Greece and Berlin, Germany respectively. Ardan Labs is also running some Go workshops at the event in Greece.

Steampipe: Query Cloud Services with SQL — Use SQL to query and even join across over 100 APIs from providers like Airtable, AWS, Heroku, Slack and Stripe, as well as social media sites like Reddit and Hacker News.

Steampipe

n

Older messages

Interactive examples of Go 1.22 features

Tuesday, January 9, 2024

Plus benchmarking Go SQLite libraries, fun with LLM embeddings, and a little bat and ball game. | #​490 — January 9, 2024 Unsub | Web Version Together with Ardan Labs Go Weekly Rob Pike: 'What We

The best of the Go newsletter in 2023

Tuesday, December 19, 2023

Plus we're back in three weeks. | #​489 — December 19, 2023 Unsub | Web Version Together with Ardan Labs Go Weekly The Best of the Go Newsletter in 2023 Welcome to the final issue of 2023! We'

Python and PHP are Go's newest friends

Tuesday, December 12, 2023

Plus CGO-less SQLite in Go hits 1.0, and 179 handy Go tool recipes. | #​488 — December 12, 2023 Unsub | Web Version 🎄 We're prepping our annual roundup issue for next week, just before we take our

Using Go to build a WASM-powered 'static' site

Tuesday, December 5, 2023

Plus Ebitengine turns ten, an alternative to stack traces, and it's Advent of Code time again. | #​487 — December 5, 2023 Unsub | Web Version Together with Fusion Auth Go Weekly errtrace: An

🥶 Like me, Go 1.22 is now frozen

Tuesday, November 28, 2023

Plus a possible symbiosis of Go and Python, and generating fake data from here to devternity. |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͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

Kotlin Weekly #438

Sunday, December 22, 2024

ISSUE #438 22nd of December 2024 Announcements klibs.io JetBrains has introduced the alpha version of klibs.io – a web service that speeds up and simplifies discovering KMP libraries that best meet

Weekend Reading — Happy "That's a January Problem" week

Saturday, December 21, 2024

Can Christmas season start a little earlier this year Tech Stuff Ramsey Nasser fuck it happened i am in a situation where i do actually need to reverse a linked list Atuin I just learned about Atuin

Daily Coding Problem: Problem #1644 [Easy]

Saturday, December 21, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by IBM. Given an integer, find the next permutation of it in absolute order. For example,

🐧 Whatever Happened to Unix Workstations? — My Incredibly Cheap Alternative to a Soundbar

Saturday, December 21, 2024

Also: Here's Why More Games Need Expanded Difficulty Settings How-To Geek Logo December 21, 2024 Did You Know Lake Wendouree, an artificially created and maintained shallow urban lake in Australia,

Supercharge Your Knowledge Capture Workflow with the Obsidian Web Clipper

Saturday, December 21, 2024

Stop juggling multiple tools and supercharge your knowledge capture workflow with Obsidian's powerful Web Clipper browser extension Sébastien Dubois DeveloPassion's Newsletter Supercharge Your

Charted | The World's Most Valuable Automakers 🚙

Saturday, December 21, 2024

Tesla shares reached a record high, setting a new valuation milestone. This graphic highlights the world's most valuable automakers by market cap. View Online | Subscribe | Download Our App

Next Holiday Season, Ignore Everyone Except One Customer

Saturday, December 21, 2024

Top Tech Content sent at Noon! Boost Your Article on HackerNoon for $159.99! Read this email in your browser How are you, @newsletterest1? 🪐 What's happening in tech today, December 21, 2024? The