Ainsley Clark (@ainsleydev) header
Ainsley Clark (@ainsleydev) profile picture

Go Developer Advocate & @jetbrains - Speaker, Engineer & Mentor | https://www.teapaw.org/t.co/CoEU81XTvK

London, England
Joined September 2020
Photo by Ainsley Clark (@ainsleydev)Photo by Ainsley Clark (@ainsleydev)Photo by Ainsley Clark (@ainsleydev)Photo by Ainsley Clark (@ainsleydev)Photo by Ainsley Clark (@ainsleydev)Photo by Ainsley Clark (@ainsleydev)Photo by Ainsley Clark (@ainsleydev)Photo by Ainsley Clark (@ainsleydev)Photo by Ainsley Clark (@ainsleydev)Photo by Ainsley Clark (@ainsleydev)
"Language doesn't matter." Then why does the same HTTP handler use 8.3 MB of RAM in Rust (Hyper) and 286.4 MB in Java (Spring Boot)? sharkbench.dev/web - Go (Gin): 23.1 MB - Node.js (Express): 228.4 MB Why should you care:
39
22
15
338
61,186
If language doesn't matter, should we not be choosing the languages that are the cheapest to run? Most idiomatic, easiest to read & quickest to compile?
3
29
6,122
Memory is money. Fair play, it's one benchmark, Go is still on 1.20 there, and on raw req/s Express beats Gin. So take it with a pinch of salt 🧂 but the spread is hard to ignore. #golang
5
36
5,452
Benchmarking & profiling is hard. @GoLandIDE have made it INCREDIBLY easy in their new update.
The fastest way to resolve middle-of-the-night production issues? Try GoLand with Air and a new profiling skill 👇
3
13
478
The GoLand vs VS Code debate just got a bit more spicy 🌶️ The clever cookies on the @GoLandIDE team have brought GoLand's language intelligence to VS Code as a language server. Try it in the coming weeks 👀
9
7
3
146
9,316
string(9786) isn't "9786". It's 🙂 Go 1.28 removes string(int). Only a byte, a rune or a rune constant like 'a' converts. go vet has flagged it since Go 1.15. Rob Pike proposed it in 2012, "in some remote future". go.dev/issue/3939 #golang
5
10
118
5,759
DRAM nearly doubled in price in a single quarter this year, which is mad. Now the Go team says reducing Go's memory footprint is "one of our major priorities for the coming year". Q1 2026 DRAM contract prices: up about 93-98% on the quarter (TrendForce). Should we be choosing languages based off cost? Maybe? go.dev/blog/17years #golang #ai #dram
2
1
20
683
Ainsley Clark retweeted
“Go Turns 17” by Austin Clements, for the Go team — go.dev/blog/17years #golang
23
149
33
882
51,219
This is how a security release should feel - boring. #golang 1.27.4 and 1.26.11. 12 CVEs, pre-announced 5 days ago with IDs only. Fixes and details landed together today. The net/http race was interesting, so I animated it 👇
2
6
105
5,271
It only affects you if you run a HTTP/1 server with http.MaxBytesReader or http.MaxBytesHandler, and the handler reads the body concurrently with writing the response header. If that's you, update.
1
1
192
The other 11 fixes are all in the toolchain. Details below. But the bit I like most is how it was handled. Pre-announced on 5 Nov with CVE IDs only, no details. Fixes and write-ups landed together today. After PHP2Shell's broken embargo last month, this is how it should feel - BORING. go.dev/doc/devel/release#go1…
1
159
#golang is growing up. And so are its developers, but nobody’s replacing them? Go devs, 2024 → 2026: - 6+ years’ experience: 52% → 66% - 1–2 years: 14% → 9% And it’s not just Go. Entry-level tech hiring is down ~65% at big tech since 2019 (SignalFire). Why should you care:
5
7
1
155
6,377
Every senior was a junior once. Someone took you under their wing and taught you the craft. A tool can’t replace banter after a crap day, a pick-me-up when you’re burnt out, or a Friday rant. So keep hiring juniors. Keep investing in people.
1
19
770
Go is the 🐐
For Go’s 17th birthday, we asked Gophers why they keep choosing Go. They seemed pretty unanimous! What would your answer be? 💬
5
5
62
1,563
If you know map, you know hashed Map It’s also been accepted this week, for golang.org/x/exp/collection/…. You supply the hashing and the equality, so keys can be case-insensitive strings, slices, or anything where == isn’t the equality you want. go.dev/issue/69559 #golang
8
5
1
86
3,667
Goodbye map[string]struct{} 👋 Go's generic set proposal was just accepted. set.Set is still a map underneath, so range just works, but you get Insert, Contains, Union, Difference and more. It lands first in golang.org/x/exp/collection/… go.dev/issue/69230
51
175
57
1,309
98,522