
I explain how software works and build tools to make it better. Systems, AI tools, and experiments from my builds.
Simulation
Joined September 2018
- Tweets1.6K
- Following564
- Followers356
- Likes10.2K
I wanted to understand what happens after we ask a database to save something
Here’s the journey from a simple map to an LSM tree.
722
Replying to @JayaGup10
Openclaw is the absolute og in this category, it showed what’s possible…
And others are building on top of that idea
2
65
dm retweeted
Post-Diwali AQI in Aizawl, Mizoram is 56 right now.
Didn't hear a single cracker or firework last night. My wife, two kids and two dogs slept peacefully. Our lungs are happy.
Replying to @sacrocant6 @shubhamm069
Yes, with cgroups and namespaces we basically create isolated access paths for resources which is weaker than vm based isolation
23
Replying to @shubhamm069
Good work! One thing I wanted to point out (which I didn't see explicitly mentioned) is that containers use cgroups and namespaces for isolation. However, in cloud environments, this is kernel-based isolation, which has security and multi-tenancy implications.
1
1
688
Replying to @JaipurDialogues
You guys change your father like we change our underwear. Doland Trump was your father when Mogli ji was jn bed with him😆
26
1,211
Replying to @keshavbedi
We all know, Mr. Teleprompter can’t even utter a single meaningful sentence except umba dumba jumba
97
Replying to @47_abhinav @keshavbedi
Haan we’ve seen, kaise aam chooske ya chatke khate ho as well
1
15
Replying to @keshavbedi
You’re nothing but a glorified Chatukar, no one asked for your opinion 😅
1
26
Replying to @andrewgazelka @chaaai
Formal verification isn’t that easy to write. All these claims ai writing theorems isn’t there yet. It still needs careful consideration to choose the properties you want to formally verify. On the other hand dst runs an exact simulation of your system it will go through under controlled parameters. If you consider verification is a funnel then these are different layers complimenting each other
71
Replying to @paraschopra
Controlled hill-climbing with sufficient verification primitives make wonders. AlphaEvolve did same thing
101
Replying to @richardartoul
Exactly this. Even when using some new language, I first learn it otherwise how would someone judge the agents work
1
8
2,134
dm retweeted
My advice for software engineers in 2026
Get into formal methods
Not to prove your system correct but to prove your thinking correct
This is the real elephant in the room.
Verification at scale is what we need.
We’re cooking something…
I've been talking to a lot of engineering managers and CTOs lately.
Here's what I keep hearing:
- Writing code is now about 2% of the work of shipping a product.
- PMs are writing / pushing code now.
- Everyone in the company is basically an engineer. Whoever moves first wins.
- Teams ship way more features, but can't tell which ones actually help.
- They'd happily pay for a tool that tells them if a feature will work before they ship it.
- Security is a whole new problem, and honestly, most teams don't know how to deal with it.
Essentially, building & shipping code is solved.
Knowing that software is safe, reliable, and correct isn't solved.
Knowing that customers will use the product isn't solved.
Knowing that your sales folks can sell the product isn't solved.
1
93
dm retweeted
It is a weird weird year to be a formal methods expert.
Some unorganized thoughts on the new @AnthropicAI and @theoremlabs post on formal verification (anthropic.com/research/forma…):
- This is very cool.
- The main innovation is verifying a later stage of the program. Normally provers take the source code, LLM it into a theorem language, and then prove that, which means you have to make assumptions about source semantics and compilation properties. It's very easy to make a mistake in translating and prove the wrong thing!
What they instead do is compile the code into assembly, and then (if I understand this correctly), compile that assembly into a theorem language (which they call LPS). So as long as the compiler is faithful you can skip the whole divergence problem.
- I'm glad they clarify that you still have to trust the translation process, the "hardware, OS, OCaml" compiler, the LPS model, and also assume that the program is single threaded with fixed memory. The single biggest source of errors in formally verified code is when the proof assumes something that isn't true in practice. It's really, really important to state your assumptions!
- I'm not clear why they need to compile the fuzzer into the theorem. Is it to act as a description of valid inputs and workload? Maybe to embed assertions in as theorems?
- Holy crap, 180 million lines of Rocq. Is that more Rocq than exists in the world already? I notice they say a 600,000 line proof corresponds to roughly 20k CPU instructions. That would be like, 1-2k lines of source code at most? Really goes to show how inefficient this approach is and how it only works because you can throw LLMs at the problem.
- This, probably deliberately, doesn't address the single biggest gap in AI-based verification: AIs cannot come up with good properties. Doesn't matter if you're doing unit testing, property testing, formal verification. I always assumed this was a "frontier labs haven't trained for it yet" thing, but if Anthropic hasn't talked about that here, maybe they've tried and haven't been successful yet. That's interesting to me.
Instead, they take a known universal property (this code doesn't crash or get flagged by UBsan) and prove that instead. Still very useful, but makes it harder to generalize to proving arbitrary things about arbitrary programs.
- Anybody reading the official post should also read their expert review appendix (www-cdn.anthropic.com/files/…). It points out some interesting things, like the fact that most of the code the LLM wrote wasn't used in the proof (over one billion lines of Rocq), that they had to prove the equivalence between fuzzed and unfuzzed programs, and (this is most interesting), some experiments find that the LLM-method of proofwriting may not scale to more complex things.
- Also read the description of LPS (github.com/theorem-labs/oss-…) to understand the limitations of the assembly -> Rocq compilation. In particular, it does not handle concurrency at all (which is one of the main use cases for formal methods!) or OS signals. Also it can't prove things about program arguments with slash characters, meaning they can prove stuff about `rm foo` but not `rm foo/bar`.
- The official skill (github.com/theorem-labs/oss-…) doesn't tell us much about the nature of FM and AI. Probably too much for me to hope of any skill.
- Some of the article's specific caveats and throat clearings make me think someone at Anthropic reads my stuff ( ͡° ͜ʖ ͡°)






