←
Ainsley Clark388 posts
Ainsley Clark avatar

Ainsley Clark

@ainsleydev

Go Developer Advocate & @jetbrains - Speaker, Engineer & Mentor | ainsley.dev

◷ Joined September 2020▧ 44 Photos and videos
Ainsley Clark avatar
Ainsley Clark@ainsleydev·21h

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 👇

1:23
Ainsley Clark avatar
Ainsley Clark@ainsleydev·22h

12 models were asked to pick a programming language at random... And our survey said... Go or Python, 307 times out of 600. Go's error handling got 118 attacks and 118 defences. Spicy takes. blog.jetbrains.com/ai/2026/1… #golang

Ainsley Clark avatar
Ainsley Clark@ainsleydev·Nov 13

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 👀

Post attachment
Ainsley Clark avatar
Ainsley Clark@ainsleydev·Nov 12

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

0:24
Ainsley Clark avatar
Ainsley Clark@ainsleydev·Nov 11

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

Post attachment
Ainsley Clark avatar
Ainsley Clark@ainsleydev·Nov 10

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.

Ainsley Clark avatar
Ainsley Clark@ainsleydev·Nov 10

Your handler reads the body on one goroutine and sets a header on another. The body goes over MaxBytesReader's limit, so net/http sets "Connection: close" on the same header map. No lock. Two writers, one map. It can crash.

Ainsley Clark avatar
Ainsley Clark@ainsleydev·Nov 10

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 👇

0:14
Ainsley Clark avatar
Ainsley Clark@ainsleydev·Nov 10

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.

Ainsley Clark avatar
Ainsley Clark@ainsleydev·Nov 10

#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:

Ainsley Clark avatar
Ainsley Clark@ainsleydev·Nov 9

Heavy weekend? Strong Monday coffee not enough? Try some fresh @jetbrains Air to perk you up. @GoLandIDE 2026.3 has our new AI agentic experience, Air. And a tonne of new features, plus a powerful new profiling skill. More to commeee! blog.jetbrains.com/go/2026/1… #golang