Pinned Tweet
Cancellation is really hard to get right. While studying tokio-uring I found a use-after-free you can reach from safe Rust.
With io-uring the kernel holds a pointer to your buffer until it posts the op’s final completion. Even if the future is dropped the runtime must ensure the buffer stays alive until then.
During shutdown tokio-uring has a bug where it:
1) drops the buffer for an op who’s future has been dropped
2) then sends a cancel event to the kernel
With this order of operations if data arrives the kernel can write to the buffer even after the runtime has dropped it but before it has sent the cancellation event.
Why bother with an OS when you could ship a bespoke kernel for every application too?
There’s obviously a TON of value in purpose-built software (@TigerBeetle is a great example) but the goal should be to specialize where it makes sense and not eliminate reuse for its own sake.
Do we really want every application shipping its own TLS implementation?
we are about to see the age of pure software. no libraries or dependencies or containers. binaries generated in completeness optimized for their own purposes
1
28
Maybe I’m just not AI-pilled enough lol if you want to read the opposing view @GeoffreyHuntley has a pretty interesting blog post about it: ghuntley.com/unikernels/
15
AB retweeted
I still read every line of code I merge to main, btw.
I believe that the benefits of reading (skimming) code far outweigh whatever productivity“gains” I might get by not doing so.
Reading code also doesn’t *that* long, IME, but ymmv.
Replying to @0xAX
I think you have to really commit to not reading the code and be willing to spend the tokens. Whenever I try this, even a quick peek has me steering the agent toward designs I prefer and then I’m back to reviewing code line by line.
I haven’t tried @copyconstruct’s idea of putting favorite books/blogs/OSS repos in AGENTS.md yet so that might be what I’m missing.
Clippy: This constructor has too many arguments.
Opus 5.5: I’ll remove an argument, construct an incomplete object and then add another method to fully initialize the object.
1
25
AB retweeted
Pre-auth RCE in nginx is the bug every hacker dreams of finding. It almost never happens.
Today we’re disclosing nginx2root: five nginx vulnerabilities, and an exploit that takes an unauthenticated attacker all the way to root.
One of themhits the default config.
If you run nginx, patch now. Then read: nginx2root.com
CVE-2026-123007, CVE-2026-123634, CVE-2026-123633, CVE-2026-121810, CVE-2026-113425
Software can be verified and mathematically perfect down to the bit but every proof relies on assumptions made about the hardware running the software and the environment it runs in.
@AntithesisHQ wrote a great blog post about finding bugs in formally verified Raft implementations due to this exact mismatch.
This quoted post is unavailable.
1
58
I was able to build a harness. The harness uses buffers which are never freed allowing us to witness writes to the buffer.
1
28
This is literally the point of rust! I can now give extra scrutiny to those 4832 unsafe blocks and know that the compiler will enforce memory safety everywhere else.
Meanwhile in C the whole codebase is effectively a giant unsafe block
Someone re-wrote curl in Rust (because rewriting working code is required by the Cult of Rust).
That Rust curl clone contains 4,832 uses of “unsafe” in order to make it work.
Because the point of Rust is MeMoRY sAfEtY. 🤪
27
Why stop at tests? I personally put it in my AGENTS.md to skip the source code entirely and just patch the production binary directly.
Programming languages are just an abstraction invented by us stupid apes because we can’t keep all the logic in our heads.
i deleted all the tests in my repo and banned them in AGENTS.md
tests were always just a second, worse copy of your logic. a leaky imitation humans wrote because we couldn't hold every invariant in our head (staying green half the time the real bug happened anyway)
opus 5.5+ is good enough at raw logic now to read the intended invariants straight from the codebase
maintaining that duplicate copy is just economic waste. plus it makes tasks take way longer while agents burn compute running tests when they almost certainly got it right anyway
24
@ all my Chinese friends send me prompts to send on your behalf and I’ll send you the traces back
15
All the positive Gemini carbon posts have to be a psyop I am NOT having a good time trying to use this model
4

















