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

Go Developer Advocate @jetbrains - Speaker, Engineer & Mentor | https://www.nitter.cf/t.co/mAmTpfhtQs | https://www.nitter.cf/t.co/7aZc9UusAm

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)
That’s a loadaaa nice looking Go packages 💪 Would be interested to see how they hold up in the wild in comparison to what’s been battle tested.
1
11
1,023
Go is making it easier to analyse code. So your AI slop has fewer places to hide 👀 Try it go.dev/play/p/Uvko0FKdtih Details: go.dev/issue/82465 What you need to know: #golang
3
7
72
3,756
The example from the draft design. A database package writes a SQLQuery check against go/analysis, then turns it on in its go.vet file: enable importers example.com/db/internal/chec… "importers" means every package that imports the database. So your go test ./myapp fails on "insecure SQL query" before a single test runs, and points at the go.vet line that turned it on.
1
227
Is database/sql really faster than an ORM? I benchmarked Laravel Go to find out. Same Postgres, same pool, 100 rows: - database/sql 182µs - Laravel Go 483µs About 2.6x. But 15 lines of scan loop became 4. Is that worth it? I guess it depends between speed or readability… laravel.com/go #golang
28
3
80
14,977
Small print - It's a beta, on a 2 core VM with Postgres on the same box. About half of Laravel Go's list time goes on reflect.Implements, run on every column of every row. Caching it took the list from 483µs to 236µs. Something that could be improved?
1
9
1,317
"Just rewrite it in Rust bro." No? Blindly porting over whole ecosystems just doesn't work. You're not only moving code but:
31
8
4
97
8,005
→ The libraries, tooling and CI your team leans on every day. → Years of knowing why the weird bits are weird. → The people still fixing the original while you rewrite it. You're behind before you've even shipped.
1
3
439
$50 well spent for eye contact with @TasonJorres imo
SPECIAL ANNOUNCEMENT. since I can't hide it on @tiltify might as well say it. but for my christmas/birthday stream this year, all of our donations are going to....... @freeCodeCamp we have some awesome donations so far on our way to $10k but we need your help check the video for more info! and repost and tell your friends! 6 holiday game shows, a giveaway every hour, and guest spots coming soon Donate: tilt.fyi/9va4uz7GEn #christmas
1
2
151
Building is cheap now. Research isn't though. Learnt this the hard way. Built something with AI, then realised an existing tool already did the job. Anyone done the same? Maybe we're discovering the hardest part isn't SWE?
3
175
🐐ted conference. Massive thanks for @gophers_africa for hosting
🙏 Big thanks to @jetbrains for sponsoring #GopherConAfrica2026 in Nairobi! Having a partner who builds the tools so many of us write Go in every day (hello, @GoLandIDE 👋) backing this event means a lot. Your support helped bring developers from across the continent together to learn, share, and connect. Here's to the African Go community, and to building together. 🚀 #Golang #GoLand #Go
1
1
23
519
To borrow, or not to borrow. Even Shakespeare isn't safe. #JustRewriteItInRustBro
5
1
19
581
Starting them young 🫡 Tiny Go socks for the smallest baby gopher in the house. 👏 @gophercon for making these. #golang
3
4
72
1,178
Replying to @GoLandIDE
@GoLandIDE have cooked. They've brought GoLand's language intelligence to VS Code & Cursor, and it feels butter 🧈 smooth. Go by GoLand is free during the public beta. Full walkthrough 👇 #golang
We didn’t expect to make this announcement either 🤷 We just released Go by GoLand – a new extension that brings GoLand’s code intelligence to Visual Studio Code and Cursor. @ainsleydev explains why you should try it 😉
5
200
"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:
53
27
20
427
112,876
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
44
10,098
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
539
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,402
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
117
5,792
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
702
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,300
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.
1
1
329
#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,398
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
780
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
63
1,577