A Claude client in one Zig file: 488 KB, fully static, no libc, no packages. Zig is cool.
Rust was a little quicker, but if footprint is your critical constraint... yeah. Zig.
https://t.co/1HAKG3VUn9
I measured how far open-weight models trail the closed frontier, day by day from GPT-4 to GPT-6 Astra.
Take a read if you'd like :-) https://t.co/nRG1wiGV7a
I gave my small heater World Model (ish) a planner and ran it against a thermostat for 200 evenings. It's optimising warmups that vary from an ideal temperature and makes me sad about my crappy thermostat at home.
https://t.co/owfH4krQGv
If your product calls a model API and goes out under your name, the EU AI Act calls you the provider, wherever your company is based. Not so much in the UK, we have five principles. What does an engineer need to know?
https://t.co/rOqofdAHm9
All the cool kids like a bit of Rust. It was the first one that needed a dependency, I went with ureq and serde_json. Even with the weight, it's the fastest one. Might be hard to beat!
https://t.co/1p0zXjKC0E
#rustlang#claude
Go is still the leader, since this was a little bit of dev fun. We're still allowed that in 2026 right? :-)
And why favouritism for C#? It's been my lang for 20+ years :-) Feel free to chip if I did something daft or like... mega outdated #getOffMyLawn
I've been making a series of 'fast Claude clients', following some rules like 'out of the box only' etc, and so far Go is in the lead. C# was 50% slower and it stung. So I decided to cheat and see how fast I could get the C# client within 1 hour of dev.
https://t.co/CvRgRpcCD3
10,000,000 times faster than an LLM (well a specific one), is probably a reasonable speed up for any system.
In this post I explore World Model and LLM strengths, weaknesses and interoperability.
I've put my 48 posts on moving from C# to Go in reading order: 11 chapters, from go mod init to deploying.
If you came in through a search and landed halfway through, start with the C# to Go dictionary.
https://t.co/v3DFus9tpB
@mehdidotnet Thanks, that's a good pairing. The line that stuck with me is that idiomatic Go looks like the TypeScript they'd already written, so they could port it file by file. :-) Cool stuff!
Continuing to have fun, C# to Claude minimal client, how does it perform, sort of out of the box? And can it beat Go? https://t.co/jtuSH1anpx
Answer: not really but it's close enough to not really have to care, here's a spoiler ;-)
Trencadís breaks Azulejería's painted tiles with a Voronoi crack and lays the shards back on a curved bench in lime. Delft is the same engine sent north, ships and windmills traced rather than built from parts.
https://t.co/Ym7m3vhIsX
Claude client number 2 on the hot path: Go. One file, standard library only, runs from a scratch image.
4.8 ms of client time across a full tool-use exchange, against bash's 35ms
https://t.co/gf28XE017m
#golang#claude
In 2000 the US and EU wrote over half the world's AI papers. Now it's under a quarter.
You have £500m to fix it. GPUs or people?
Show your working. Mine's here, six charts with the data:
https://t.co/QMPOcPdr4g