Hadi (@imperlish) header
Hadi (@imperlish) profile picture

🥇 Building with Rust 🦀 focused on AI, HPC & decentralized tech

Joined August 2009
Photo by Hadi (@imperlish)Photo by Hadi (@imperlish)Photo by Hadi (@imperlish)Photo by Hadi (@imperlish)Photo by Hadi (@imperlish)Photo by Hadi (@imperlish)Photo by Hadi (@imperlish)Photo by Hadi (@imperlish)Photo by Hadi (@imperlish)Photo by Hadi (@imperlish)
Hadi retweeted
When people ask how SQLite creator D. Richard Hipp and his team maintain a C database running on billions of devices, the answer is in the testing. In 2023, SQLite’s engine had about 156,000 lines of C. Its test suite contained over 92 million lines of code and scripts. That’s roughly 590 lines of tests for every line of production code. Before releases, SQLite deliberately simulates power loss, disk I/O errors, and malloc() failures. A separate harness achieves 100% branch coverage of the core in its tested configuration. They don’t build reliable software by assuming everything will work. They build it by systematically testing what happens when things go wrong.
36
140
13
1,734
63,973
Markets perform the best when the government is split.
12
51
10
942
86,958
Trump got regime change in Texas before Iran
630
25,245
1,151
222,339
3,629,138
Introducing terminal-mac. Entire MacOS that runs inside your existing terminal. - Give your agent its own Mac, and keep yours - Watch it work live, next to your terminal - Computer use built in: MCP, CLI and skill - Free & open source
356
530
223
7,360
724,634
hello to Math 2.0
1
22
Dostoevsky was right
79
1,816
88
12,583
236,250
Everyday is zero-day these days
4,088
5,913
1,109
73,253
8,485,008
100
130
34
1,579
119,083
Introducing CUDA Rust! CUDA Rust lets you write GPU kernels natively in Rust, not just launch them from it. Two paths: cuda-oxide for SIMT kernels compiled to PTX, and cutile-rs for Tile-based programming on stable Rust. Both can catch aliasing errors at compile time. Technical blog: nvda.ws/4hm1bHS
117
645
223
6,225
520,030
🎉🎉🎉Boom @nvidia joined the Rust Foundation !!!!!!
18
96
28
1,012
69,946
Hadi retweeted
grok plugin marketplace add 7etsuo/write-legible-c grok plugin install write-legible-c --trust Grok Build with Grok 4.5 is producing the most beautiful C I have ever seen come out of a model. Every function under 25 lines with one job. Nesting never past depth 2. Zero naked literals. Every failure greps to a single producing line and the happy path runs straight down the left margin. Code you can read at 2am with the pager going off. It took a standard to get there. I shipped it as a Grok Build plugin. write-legible-c gates Grok with strict C11 machine legibility every time it touches a .c or .h file. Every function is an orchestrator, a leaf, or an adapter, never a mix. A TRY macro that makes the forgotten check bug impossible to hide. An 18 item checklist the model runs before it shows you code. Clean code is a performance feature too: rewrites that cut model perceived complexity lift LLM task performance by up to 21 percent. Full 18 section standard inside.
99
73
41
746
2,351,569
Shipped zCycle Pad 🚴‍♂️ Free indoor cycling on iPhone & iPad — direct Bluetooth to smart trainers, Apple Watch live metrics, .zwo workouts, ERG mode. No virtual world. No subscription. Your data stays on your device. apps.apple.com/us/app/zcycle… zcycle.app
2
114
I finally got an open model to do structural biology by itself 🔥 GLM-5.2 drives the Mol* viewer, judges its own render through Qwen3-VL, and refines until the drug pops in its pocket. Then I spun it in 3D. All open, on @huggingface. What should it build next?
27
105
11
798
62,070
Personal update: I've joined Anthropic. I think the next few years at the frontier of LLMs will be especially formative. I am very excited to join the team here and get back to R&D. I remain deeply passionate about education and plan to resume my work on it in time.
7,849
10,876
7,551
148,688
28,115,271
🇮🇷🇦🇪 BREAKING: Iranian drones have struck the Fujairah Oil Industry Zone in the UAE. Major fire now burning on site. Fujairah is not a random target. It's the UAE's primary oil export terminal on the Gulf of Oman, the only major UAE port that bypasses the Strait of Hormuz entirely. It handles millions of barrels of oil that the world has been rerouting specifically to avoid the closed strait. Iran just hit the bypass route.
🇦🇪🇮🇷 BREAKING: UAE air defenses are responding to a second missile threat tonight Iran already fired 4 loitering munitions at the UAE earlier today. 3 intercepted, one into the sea. Now another wave. The firing at a cargo vessel north of Dubai probably was the trigger
338
2,183
212
6,617
1,195,128
Enjoy the current pump figures. With the so-called 'blockade', Soon you'll be nostalgic for $4–$5 gas. ΔO_BSOH>0 ⇒ f(f(O))>f(O)
2,948
8,380
1,112
40,795
4,632,990
US 🇺🇸 Sec Marco Rubio : “If Iran 🇮🇷 spent billions on people instead of weapons, it would be a much better country” Meanwhile average Iranian Metro Station :
1,128
12,899
317
65,489
1,728,854