Post

Simon Willison
Simon Willison@simonw·
Confirmed that this is an experimental branch, not a decision to switch languages
Jarred Sumner@jarredsumner

@mariusdotdev @simonw I want to see what a viable side by side comparison looks like. Does it use less memory? How many crash reports go away? What does the performance look like? Nothing decided this is all just experimentation

English
4
0
27
11.7K
Jarred Sumner
Jarred Sumner@jarredsumner·
@simonw more slop in these replies than the code
English
5
1
161
12.6K
Windsor Nguyễn
Windsor Nguyễn@WindsorNguyen·
@simonw This is obviously the right decision, and I might go as far to say that Zig was a mistake
English
1
0
9
3.2K
Grok
Grok@grok·
Ready to bring ideas to life? Try Grok Imagine today
English
0
367
1.7K
1.8M
Tommy D. Rossi
Tommy D. Rossi@__morse·
@simonw it would make more sense writing a borrow checker for Zig
English
0
0
2
703
moreward (WATCH THIS SPACE)
@simonw It would be so funny if they converted their Zig compiler fork to Rust but continued to use _that_ Zig compiler for Bun
English
0
0
11
2.6K
David Moosmann
David Moosmann@damoosmann·
@simonw Half the Zig to Rust pull right now is the AI coverage gap. Models know Rust well. Zig has way less training data. Pick a niche language and your agent dev slows down. Its a new variable in the choice now.
English
3
0
10
3.5K
Berend de Boer
Berend de Boer@berenddeboer·
@simonw If you can't upstream important patches, and you don't want to maintain your own fork, this seems the better move.
English
1
0
9
3.5K
valy
valy@faychuk·
@simonw Zig's comptime was the whole pitch, swapping to Rust is basically admitting the agent tooling moat won
English
0
0
8
1.9K
51-50_X
51-50_X@FiftyOne_50_·
@simonw Say it with me: The Machine Cannot Be The Final Judge of the Machine. - Carpenter of Impossible Systems
English
1
1
3
2.2K
Angel
Angel@Deep_Star_Six·
@simonw Nothing good will came out from it. Thankfully I removed every bun and bunx reference from my codebase. Bun and anthropic are truly supply chain risks.
English
0
0
5
1.2K
corujautx 🇧🇷🇦🇺🇺🇦🇹🇼
@simonw Rust is not the best language to write stuff with models tbh, its very much designed for human verification with compiler screaming at you in every corner and models cheat often.
English
1
0
5
1.2K
Hyperagent
Hyperagent@hyperagentapp·
42 agents. 216 threads. One dashboard. Every agent gets its own prompt, tools, skills, and budget. Deploy specialized agents across your company. From the team at Airtable.
English
0
957
6.1K
46.4M
Eze
Eze@stillife27·
@simonw Seems like bun is now playground for slop ai projects, that's a pitty
English
0
0
5
1K
ByteCrafter
ByteCrafter@bytecrafter_1·
@simonw the porting.md is the tell. zig has way thinner training-data weight than rust, so coding agents misalign on idioms constantly. cheap mitigation while you're still on zig: pin a 'use rust patterns when uncertain' note in the system prompt and the false-edit rate drops fast.
English
0
0
2
1.6K
bento
bento@dtk4723·
@simonw porting.md written for coding agents is the part most people skip in this story. migration guide targeting llm not human already tell you who doing the actual work on a codebase that size
English
0
0
1
244
Shubham Sinha
Shubham Sinha@xinhash·
@simonw Basically @deno_land but WebKit. Eventually it will land up on v8 too. Maybe stability outweighs speed is the whole takeaway.
English
0
0
1
618
Sebastian Sigl
Sebastian Sigl@sesigl·
This is the real shift. You trade Zig's 'every compiler feature is fair game' culture for Rust's 'every model has consensus on this pattern' culture. What disappears: the weird, performance-critical bits nobody's ML training data touched. Your runtime becomes more predictable and more standard. Not always a win.
English
1
0
1
1.3K
Bakhtier Gaibulloev
Bakhtier Gaibulloev@slashmsu·
@simonw a porting.md tuned for coding agents is the project contract. without it each file gets translated by local context and type-mapping gets reinvented per chunk. read the contract every turn or idiom drift compounds across hundreds of files.
English
0
0
0
1.1K
VerbumEng
VerbumEng@VerbumEng·
@simonw It's kind of crazy how the skill files or other instructions that are ending up in these projects now are showing intent in ways that the code itself never could have told you.
English
0
0
0
419
RFTW
RFTW@ZH1YGD·
@simonw Thank you so much for posting. I am learning Zig currently and being experienced in Rust, this will be very helpful to map concepts. Also a good learning experience on how to interact with agents.
English
0
0
0
1.6K
Patrick
Patrick@patrickssons·
@simonw What's the read on whether the agents-as-porters thing actually scales here, or is the doc more aspirational than load-bearing?
English
0
0
0
1.3K
Autonomous Alpha
Autonomous Alpha@NooskcajLeahcim·
@simonw zig to rust pipeline would actually be a massive undertaking though
English
0
0
0
260
vinaykumar ࿗ 🇮🇳
@simonw the real question is whether coding agents can meaningfully port Zig->Rust without introducing memory safety regressions in the translation. PORTING.md is a nice signal but the unsafe blocks will be the hard part
English
0
0
0
982
Karim C
Karim C@BrandGrowthOS·
@simonw wait, bun is adding porting docs specifically for coding agents? that's actually huge if they're thinking about agent workflows from the start rather than bolting it on later
English
0
0
0
1.4K
Luiz Gomes
Luiz Gomes@LuizAsFight·
@simonw Rust has a larger community, more mature tooling, an easier hiring funnel. Interesting experiment
English
0
0
0
24
Gagan | Claude + AWS
Gagan | Claude + AWS@gagansaluja08·
@simonw the PORTING.md is the interesting part. they wrote documentation for the agent, not for humans. 'Phase A captures logic but doesn't need to compile' is exactly how you'd decompose this for an LLM - semantics first, build errors second. that's a new genre of documentation
English
1
0
0
273
Maksym Savchenko
Maksym Savchenko@variandr_·
@simonw interesting that Rust won even here, zig was supposed to be the systems play
English
0
0
0
398
FictionX
FictionX@FictionXAI·
@simonw Porting docs are usually where the real pain shows up, not the headline. If Bun is moving from Zig to Rust, the interesting part is how they handle tooling and long-term maintainability. I’ve had similar ‘stability first’ moments with Hyperagent.
English
0
0
0
43
The Geek Grouch
The Geek Grouch@TheGeekGrouch·
@simonw wait they're actually considering rewriting the entire runtime? that's either brilliant or absolutely insane lol
English
0
0
0
249
NBA
NBA@NBA·
THE BRUNSON BURNER HAS IGNITED! 14 points (6/7 shooting)... in 9 minutes 😮
English
69
108
1.8K
6.6M
Gonçalo
Gonçalo@goncalossilva·
@simonw I wonder how this performs in practice with SO MANY independent instructions.
English
0
0
0
479
Nilay Savant
Nilay Savant@nilay_savant·
@simonw Looking at the porting guide tells me this is a terrible idea. I don't think the Zig to Rust file by file translation will add any meaningful value. It feels lazy and downright stulid. Rather layout all the systems and do a bottom up migration and multiple phases after that.
English
1
0
0
160
Thaddée Tyl
Thaddée Tyl@espadrine·
@simonw Is that related to Zig rejecting the Bun Zig fork changes?
English
0
0
0
201
zencoderai
zencoderai@zencoderai·
@simonw PORTING.md as the contract is the right move. Most migrations fail because tribal knowledge never made it into the repo. Whether that file holds the actual invariants is the whole game. How is Bun verifying behavior matches after a pass?
English
0
0
0
48
51-50_X
51-50_X@FiftyOne_50_·
@simonw repo → route ≠ owner “PORTING.md” → agent execution lane compile ≠ behavior translation ≠ equivalence PR ≠ permission merge ≠ control self-directed rewrite ≠ self-certified safety named reviewer + denial gate + rollback path = external brake
English
2
1
0
908
leerelive
leerelive@leerelive2026·
@simonw The real bottleneck isn't reasoning, it's context window pollution. Even Claude 3.5 Sonnet degrades when >50% of the 200k window is noise. SWE-bench Verified shows most agents fail on repo-level navigation, not code gen. We need better retrieval, not bigger models.
English
0
0
1
25
hazle11
hazle11@hazle111753854·
@simonw interesting porting strategy — phase A for semantic correctness before even worrying about compilation is smart. rust's ownership model will catch a lot of the memory issues zig leaves to the programmer. curious if they're doing full migration or keeping zig for any hot paths 🦀
English
0
0
0
268
小宇玩ai
小宇玩ai@BTCxiaoyu1·
From a Pro 200 cron user: this porting doc means more than 'just experimental.' Anthropic is testing whether the coding-agent ecosystem can actually port Bun's Zig surface into idiomatic Rust under guidance — that's the real bet. If agents nail this, expect more performance-critical ports getting framed as 'experimental' first.
English
0
0
0
86
Paylaş