
Passionate about computers, books, and writing — https://teapawt.net/t.co/ONrBoLjeZL. he/him
Sydney, New South Wales
Joined April 2016
- Tweets11.2K
- Following390
- Followers460
- Likes27.7K
Positive thing out of AI is that it lets teams be more cross time zone by filling gaps and coordination. Historically I think people’s nature to want to socialize has worked against their ability to work asynchronously except for those who are more introverted or heads down on tooling.
17
Ryan James Spencer retweeted
🤖 Made with AI
In between meals and football games, I found time for a personal project this Thanksgiving - a programming language designed for agent-written software, named Truss github.com/finiteloop/truss.
Traditional programming languages were designed for the ergonomics of human authors, effectively optimizing for the convenience of writing code. Truss, in contrast, assumes code is no longer written by hand, but instead written by AI agents.
Rather than optimizing for authoring convenience, Truss requires quite a bit of reasoning at authoring time to verify a program's correctness and performance. That tradeoff is sensible for agent-written software because it is not a burden to the software engineer and the one-time token spend can produce software with enduring robustness.
Popular programming languages like Rust are a small step in this direction, providing compile-time memory safety — making Rust code a bit harder to write for humans, but a fantastic language target for AI. Truss takes this idea a few steps further, formally verifying behaviors well beyond memory management.
I think we will probably rewrite most software written before AI because that software is imperfect, insecure, and slow. I would like to have software that is provably correct, verifiably secure, and incredibly fast, and I would like to be able to use agents to produce software of unparalleled scale and complexity that has those qualities.
Truss is just a prototype, but I was hoping to start a conversation about the platforms we need to design to achieve that vision.
I watched this whole thing just to wait for a scene where the dog would be eating across from her
39
Ryan James Spencer retweeted
I built a 74 KB bare-metal hypervisor that puts a 2B LLM BELOW Linux in Ring -1, catches a fatal Kernel panic mid-crash, patches the broken machine code live in RAM, and keeps Linux running without a reboot.
Left window is standard Linux dying instantly from a Ring 0 NULL-pointer write (*(u32 *)0 = 0xDEADBEEF). Right window runs the exact same crash command under my custom Type-1 AMD SVM hypervisor (x86-64 NASM assembly + zero-libc C, 0 host OS).
Instead of crashing, Ring -1 freezes Linux before it can panic, runs a GRPO-trained MiniCPM5-2B (Q4_K_M) across 24 AVX2 cores in 11.1 seconds, overwrites those 11 faulting bytes in guest .text physical RAM with 11x NOP (0x90) via NPT, and calls `VMRUN`.
Linux prints SURVIVED NULL-DEREF! and uptime never resets.
We used a tiny /proc/surgeon_crash test module to trigger clean Ring 0 crashes side by side. On 122 unseen fault scenarios (including unsafe spinlock crashes it must refuse to patch), this GRPO checkpoint hits 97.54% pass@1 with 0 dangerous patches (vs 16.39% on base).
Full NASM + C source code (75,424 bytes binary) is live in my llm.asm repo (MIT, link below).
I deleted Linux completely, baked Qwen3-0.6B into a 24 KB pure x86-64 assembly OS, and it runs up to 54% faster than native Linux llama.cpp.
The entire Multiboot OS binary (asm-llm-os.elf) is 24,252 bytes, written from scratch without Linux, Windows, C, Rust, or libc. It boots in 74 to 94 ms straight into 64-bit Long Mode, wakes every CPU core over APIC, maps the 614 MiB Q8_0 weights directly from physical RAM, and drops you into a live multi-turn KV-cache chat over VGA, PS/2 keyboard, and serial.
I ran head-to-head CPU benchmarks against llama.cpp (Q8_0, -ngl 0) on the same AMD EPYC 7642:
- 1 thread hits 23.67 tok/s vs 16.63 (+42%)
- 4 threads hit 78.89 tok/s vs 51.08 (+54%)
- 8 threads hit 118.08 tok/s vs 80.79 (+46%)
- 16 threads hit 134.94 tok/s vs 103.03 (+31%, 136.6 peak)
On a diskless 0 GB Proxmox VM (2014 12-core Intel Xeon E5-2670 v3, 2 GiB RAM), it boots straight to the prompt in under 5 seconds (95 ms kernel boot) and runs live out of RAM at 78 tok/s decode and up to 111.5 tok/s prefill, with a hybrid BIOS+UEFI ISO builder included too. Output stays bit-exact across thread counts and matches all 64 greedy tokens against PyTorch FP32 (0.99965 cosine).
The 14.7 KB Linux ELF build (FAST_Q8=1 INT8xINT8 AVX2+F16C) also beats llama.cpp by 18% to 36% from 1 to 40 threads, and booting bare metal with 2 MiB huge pages squeezes out another 10% on top.
Repo, ISO builder, and Proxmox setup guide are in the reply below.
Holy fucking shit bro did you know you can cook eggs yourself? Fr fr you don’t even need to hire a chef or order out as long as you have a pan and the eggs are in your fridge.
It appears that vibe coders on R*ddit have learned that you can edit files via notepad and make changes to the programs, without burning any tokens.
Amazing discovery.
49
last week (and a bit of the week before) I spent the majority of my time designing solutions for larger scale capabilities we need. A lot of what's missing in company contexts seems to be coordination and shared vision to take advantage of shared trajectory.
1
31
Or maybe this is off and leaning more into the "chemical vat" model of software, where the distributed decision making is maximal and the shared cohesion isn't needed...
1
19
> engineers were recruited out today to figure out how some of the existing government and private code worked, which has been top priority since The Great Emigration of the AI populace occurred
2
158
Ryan James Spencer retweeted
half the rules in most prompt files were written to babysit a model that no longer exists.
delete them and see what actually breaks. usually less than you think teapawt.net/thorstenball/status/21…
This is the explore phase. if you're not mucking about with tons of agent generation, harness creation, etc. you're probably going to be doing this later at a disadvantage. Like most engineering architecture, focus on the agnostic stuff, don't get too stuck on the arcana.
21
Amazingly, being an American who lives in Australia, it is remarkable to me how many Australian's can't tell I'm American, I guess because I have a more "radio-city" accent (blunted by years in France) than the expected hyperbolic accents (drawls, etc.)
1
32
Ryan James Spencer retweeted
Fuzz testing a deterministic system hits different: You get time travel debugging and multiverse exploration for free.
Make (the core of) your system deterministic













