Merlin (@TheWizardTower)

Merlin @TheWizardTower 2025-11-24T03:06:40.000Z

Reminder that I'm looking for a new role. I'm an experienced infrastructure engineer. I've worked with Kubernetes, Terraform, Postgres, AWS, with some Azure and GCP as well. I've also done a lot of valuable work as a backend engineer, having worked primarily in Haskell and Rust, though I've also gotten my hands dirty with Python, some Go, C++, and a bit of TypeScript. I've also had the privilege of being a public speaker, and have also lead training seminars for peers on how to use different tools, sharp edges to avoid, and getting them to a functional mental model of how things work quickly, so they can start to ask meaningful questions and debug problems on their own. I take ownership quickly, care deeply about reliability, correctness, and delivering quality service to customers. I say this up-front because this comes with a number of downsides, including: * I dislike shoddy work, buggy code, leaky abstractions, or flaky services. "Don't let the perfect be the enemy of the good" is fine and well, but tech debt brings an aggressive drag coefficient to your business, and that fact gets swept under the rug far too often. * I don't optimize for shipping a ton of code quickly. I tend to be on the lower end of lines of code/sprint, and I'm not terribly keen on changing that. I write code to be maintainable, have clear invariants, be easy to refactor as business needs change, be easy to debug, and to quietly work while you're focus is elsewhere. I'm also a quick study, and have a long history of getting spun up quickly on the new parts of a stack I encounter at the various roles I've filled over the years. If this sounds like a good fit, please do drop me a line. I'd love to talk about how I can make your life better. https://thewizardtower.github.io/McCulloughAdamResume.pdf

55 11 19443 4 2
ガラスボー @garasubo 2026-11-30T03:09:48.000Z

I previously thought that Rust might not be suitable for LLM because training data is much fewer than other popular languages. After LSP integration was released, it generates much better code. I now believe that strict compiler check is one of key features for AI coding🤖

@TheWizardTower

So now generic LLMs can have access to (essentially) an LSP that reviews code as it's generated and suggests type-valid continuations, or flags if no such continuation exists. We live in the fucking future. That's wild.

2 1 393 1 0
Merlin @TheWizardTower 2026-11-29T21:15:52.000Z

So now generic LLMs can have access to (essentially) an LSP that reviews code as it's generated and suggests type-valid continuations, or flags if no such continuation exists. We live in the fucking future. That's wild.

@garasubo

1年前の論文ではあるけど、型チェックがLLMのコード生成を助けることについて分析した論文がありますね。また最新モデルでは結論は変わりそうですが、今のところAIにとって型が不要になっていくであろうという客観的示唆を与えるものってないように思います https://dl.acm.org/doi/10.1145/3729274

8 1 876 1 1
Merlin @TheWizardTower 2026-11-29T11:24:03.000Z

I've never understood this. I can empathize with long compile times being irritating, but the gap in safety and correctness between Go and Rust is measured in light-years. Tight iteration times are more fun for the developer. All the customer cares about is whether the damn thing works.

@InsanityBit

People choosing Go over Rust for compile times is pretty funny. Cranelift will compile very fast and even without the LLVM level optimizations you'll outperform Go. And you get to pull the LLVM lever any time you like.

58 3 3975 13 0
Merlin @TheWizardTower 2026-11-29T22:56:43.000Z

Link one: https://songlh.github.io/paper/go-study.pdf This makes me... very mistrustful of Go's semantics, since a majority of the bugs the study found were because of Go-specific idioms. To quote: >In this paper, we perform the first systematic study on concurrency bugs in real Go programs. We studied six popular Go software including Docker, Kubernetes, and gRPC. We analyzed 171 concurrency bugs in total, with more than half of them caused by non-traditional, Go-specific problems.

0 0 37 1 0
Merlin @TheWizardTower 2026-11-29T22:59:45.000Z

This article also does a great job of going over the different tradeoffs between Go and Rust: https://corrode.dev/learn/migration-guides/go-to-rust/ Relevant quote: >Go just optimizes for a different set of values than Rust, namely shipping speed and operational simplicity over compile-time guarantees. It’s a design tradeoff. >Go is a very pragmatic language, but at a certain codebase size, the problems start to compound. Rust is worth it if the cost of shipping bugs exceeds the cost of a stricter compiler. I have a lot of mileage with strict type systems. I came to Rust from Haskell, so Rust is, for me, the moderate option, both in terms of compile times and compiler fussiness. So I admit my opinion is skewed. But, I also go out of my way to use tools written in Rust, since I'm confident they'll be both correct and performant.

0 0 34 0 0
Un gros grec @kebabroyal_ 2026-11-29T22:15:36.000Z

@TheWizardTower @NickBlow I still like C++ for instance, I use it often with numerical code: easier interop with other C++ code, LLMs have good training sets, if you keep things small and focused it works. If you know what you're doing, LLMs make the world your oyster. If you don't... learn.

1 0 31 1 0
Merlin @TheWizardTower 2026-11-29T22:40:41.000Z

LLMs let me take on a Python project recently and ship a dizzying amount of code, and things mostly did the right thing. A few things were more irritating (Rust has an excellent story with async concurrency, which Python, which just got rid of the GIL, obviously doesn't match), and I definitely had to spend some extra tokens saying "No really, add tests, make sure they're run and CI catches them, add types, also make sure CI catches them", but even so. I was phenomenally successful for someone that primarily worked in Haskell and Rust. C++ was my favorite interview language for a long time, just because 1) The type system catches the "obvious gotcha" mistakes you're likely to make in a 45 minute interview, and 2) the semantics and syntax are widely-enough understood, so you don't spend 30 minutes explaining why take 5 [1..] is not an infinite loop. I want to argue about refactoring with type systems, but I will grant that it takes... a specific mindset.

0 0 9 0 0
Victor Garcia @vmg__0 2026-11-29T19:51:10.000Z

@TheWizardTower The gap in safety and correctness between Go and Rust is not that large. Tighter iteration loops means you can run more tests than you can against equivalent Rust code. https://x.com/vmg__0/status/2127118167327572174

@vmg__0

Decided to measure this myself to confirm if it's true, here are the results comparing Go to Rust / Cranelift using code from benchmarks game. Go is faster on those workloads and the build times are also much faster. https://t.co/iIqpF2meya

1 0 121 1 0
Merlin @TheWizardTower 2026-11-29T21:09:00.000Z

First off, thanks for bringing concrete data to support your position. I've had a few of these sorts of tweets get a minor-to-moderate amount of traction, and this doesn't happen often, so cheers to you. I grant that tighter iteration loops have many virtues. I've experienced them in the past (even in personal Rust projects). It's one of the reason I'm an absolutist about "CI checks must run locally" and "Developers must be able to run the entire stack on their laptops." If you're waiting for CI to run elsewhere, you're extending your iteration loops by a factor of 10 at least. That being said, the reason Rust loses the benchmarks above is that it's being compiled with Cranelift. Cranelift gives faster compile times, but /much/ worse application performance. https://benchmarksgame-team.pages.debian.net/benchmarksgame/fastest/go-rust.html So, Cranelift is very useful as one option among many to mitigate Rust's long compile times, but it's absolutely not intended or suitable for a final deliverable binary for end-user or customer use.

0 0 84 1 0
Un gros grec @kebabroyal_ 2026-11-29T20:02:58.000Z

@TheWizardTower @NickBlow In this particular case I started in C++ before realizing that writing lots of small functions over opaque pointers or machine words called for something simpler. And the LLM became suddenly *better* when we switched to C.

1 0 52 1 0
Merlin @TheWizardTower 2026-11-29T20:22:56.000Z

Your reasoning is sound. I have some PTSD around correctness because I started my career in ops, so I lost weeks worth of sleep over "LGTM ship it" code. Sometimes even my own. I think of things like the borrow checker or Haskell's approach (which Rust borrows) of "You either return a value, always, or return an Either/Result or Maybe/Optional if you fail, you don't return null, you don't throw an exception*" to be really compelling. Paired with the results other companies have had (lower bugs, faster reviews, fewer regressions/rollbacks) and I think of "robust type safety" to be like washing your hands before surgery. Washing your hands doesn't guarantee the patient will survive. Similarly, using a type system with strong guarantees doesn't guarantee that your code is bug-free. But it sure does help. * (okay both Haskell and Rust allow the user to panic, and the Haskell prelude has plenty of functions that panic on their own, but the principle stands)

1 0 21 1 0
Merlin @TheWizardTower 2026-11-29T19:38:40.000Z

The real problems are: * You will find severe faults with your design/model * You will find them very quickly * You will have a *much* harder time wiggling around the fact that you screwed up badly But, if you embrace it, your designs will improve geometrically.

@razzy_ar

Stronger type systems make your thinking clearer.

16 1 547 1 0
@TheWizardTower reposted
Elon Musk @elonmusk 2026-11-29T19:07:06.000Z

Fair points

@TimSweeneyEpic

AI companies are speedrunning enshittification, anticompetitive policy imposition, attempted regulatory capture for de facto cartelization, media payola, bug blowback, and political blowback. Unlike the smartphone duopoly where bad practices continued for 18 years due to aligned anticompetitive practices, which neither Apple nor Google chose to upset until recently, AI is an intensely competitive market. And though the temptation to collude is strong, there are multiple highly independent players who are hyper competitive by nature, including SpaceXAI, Meta, and the Chinese model labs. All developers must be remain extremely vigilant and vocal. The Anthropic nerfing and Google account ban hell will be good test cases. These are things a duopoly would have continued for decades, but companies will be forced to correct in days (not weeks, months, years, or decades) if developers quickly leave for greener pastures.

6465 522 1611958 404 26
Merlin @TheWizardTower 2026-11-29T19:11:17.000Z

I met an Ada guru when I worked in the bay area. Nice enough chap, but I don't recall his arguments swaying me. At the time, I was fully hopped up on the Haskell train. Reviewing what Grok tells me, Ada has a stronger sales pitch than I initially credited it. For one, I didn't realize it had performance similar to C++ rather than Java or so. For another, Ada seems to have a way to express a similar set of memory safety guarantees, which is impressive. If I'm comparing it to Haskell (or some other strongly typed, statically typed, functional language), OO+Imperative makes me nervous. If I came across a project in Ada that was working well, I don't think I'd try to use whatever political clout I had to suggest rewriting it in Rust. I'd be much more tempted if I was in the same situation, but with Python, for example.

0 0 111 0 0
Merlin @TheWizardTower 2026-11-29T19:07:48.000Z

Man, it'd take a lot of whiskey for me to start a serious new project in C. But, I'm glad you're having fun! I can definitely see the appeal of a C interpreter running Lisp. I encountered 'make a lisp' a while ago, and one of the things the maintainer showed was how many layers of the MAL project you could recurse through and still get answers. (So, you load the base interpreter, then use that to load the make a lisp in lisp interpreter, then use THAT to do the same trick, then run a simple program). The C version handled this wonderfully, Ruby failed outright (call stack depth error, IIRC), and Javascript one just never finished.

1 0 26 1 0
Merlin @TheWizardTower 2026-11-29T18:31:44.000Z

Never thought I'd see the day when Yegge reached this point.

@Steve_Yegge

Allow me to explain. I have to give remote full-day workshops to companies around the world. I literally have 3 networks (one Starlink) for redundancy. Getting locked out of my Google accounts on a work day would be FUCKING DEVASTATING. The idea that I could be playing with Google's AI, and suddenly get locked out of my workspace, my documents, slides, notes, mail, etc. -- even for a day while the team "sorts it out", is absolutely criminal. Criminal. I am getting off of Google ASAP. Done.

2 0 130 0 0
Nick Blow @NickBlow 2026-11-29T18:16:41.000Z

I did find that LLMs struggled with rust but this was about a year and a half ago which is forever in AI years. But I would personally still go with TypeScript or hell, even Java if I wanted something where there’s good quality training data and performance is acceptable. Go’s performance advantage vs TS is far less than it was a couple years ago.

1 0 38 1 0
Merlin @TheWizardTower 2026-11-29T18:22:07.000Z

I do find I get much more involved when I'm prompting Rust. I just wrapped up a Python gig and noticed a marked difference in how much fussing I had to do to get a usable PR. That being said, I usually encountered Python weirdnesses along the way that.... were certainly a time sink. It seems it's fairly easy to write tests that never get caught by CI, and to have that not be noticed for a year or more. (Startup life, team was moving fast, etc etc etc)

1 0 44 1 0
@TheWizardTower reposted
Ghostwalker @_Wraithborne_ 2026-11-29T05:45:41.000Z

Yeah, the guys that allowed private ownership of war frigates would be upset that the people they wanted in the militia had accurate rifles. Big brain take there.

@douggiefresh87

@USATODAY No civil person needs an AR- 15 assault rifle in their home. This is unimaginable by the founders when muskets could shoot one shot per minute

548 39 4433 10 0
@TheWizardTower reposted
Aleph @woke8yearold 2026-11-29T16:18:08.000Z

One true generational divide is that everyone under 40 knows video games are the default male form of entertainment. This is like attacking people for watching movies, it just doesn’t land with anyone but boomers who think only turbo nerds and losers play video games

@tylerbowyer

If you’re the age of fatherhood and you’re playing GTA 6 instead of putting up Christmas lights this weekend… It’s time for some self-reflection

14714 717 229741 120 26
Merlin @TheWizardTower 2026-11-29T00:59:07.000Z

An interesting paradigm suggests itself, here. C has a mountain of sharp edges and foot guns. C++ has features that can catch problems, but they aren't the default path. You have to opt-in to them, which means you have to know about them ahead of time. Rust makes safe and correct the default. If you want to do something out of the norm, you have to make a ceremony out of it, whether that's with .unwrap() or an unsafe block. Even if you do the 'old fashioned thing' and index into a collection via [] rather than a .get() method, clippy will nag you about it. It's telling that with each step, software quality improved dramatically.

@RuskiZoomer

The funniest part about C/C++/Rust arguments is, Rust/C++ devs talk about the language features to show their language is better, and the discussions end up being informative. But C devs for whatever reason think not having a single modern feature is somehow a plus.

71 6 11393 10 2