| ▲ | Bun is being ported from Zig to Rust(github.com) |
| 319 points by SergeAx 4 hours ago | 203 comments |
| |
|
| ▲ | stingraycharles 4 hours ago | parent | next [-] |
| Interesting to see this when the current top post on HN is someone worrying about Bun as it was acquired by Anthropic. The top comment there describes “Anthropic does experiments on their own codebase, the Bun team is not gonna do the same vibe coding experiments”. Yet here we are, what looks like a massive undertaking for vibe coding. Time will tell how this will turn out. Would be nice if the Bun maintainers could give some clarification about what they’re doing here, and why they’re doing this. |
| |
| ▲ | andkenneth 3 hours ago | parent | next [-] | | They recently tried to upstream an improvement to zig, but were prevented from doing so because zig has a hard and fast "no AI code" rule. Whether you think this response is trying to put pressure on zig or whether they're just moving for practical reasons is up to you. It's probably a bit of both. | | |
| ▲ | endospore 2 hours ago | parent | next [-] | | Makes me wonder why zig announced the strict LLM rule recently. I'm afraid one reason could be that zig doesn't want to accept code from the bun fork in the first place (because of LLM usage, deviation and other reasons) | | |
| ▲ | neomantra 2 hours ago | parent | next [-] | | One non-obvious reason is that an important aspect of their community is to shepherd new contributors [1]. LLMs crushing everything would reduce that. More obvious is all the toil for maintainers dealing with LLM PRs (broadly it’s an issue). The Zig maintainers prefer to put their energy into improving people and fostering those relationship. [1] https://kristoff.it/blog/contributor-poker-and-ai/ | | |
| ▲ | Dylan16807 25 minutes ago | parent | next [-] | | That's a solid reason to keep LLMs away from the kind of tasks that help with onboarding. But a patch series from a competent team that changes 3000 lines should probably be evaluated on its own merits. Or at least, the collaboration-based reasons to reject AI don't apply and the real reason would be something else. (Though I don't know if this particular patch series would get accepted on its own merits.) | | |
| ▲ | riffraff 14 minutes ago | parent [-] | | The recent article explained the bun patch would have been refused on technical merits as it's intrinsically incorrect, to be able to work properly it required some language changes. |
| |
| ▲ | bbor 34 minutes ago | parent | prev | next [-] | | Well said! I don't think either party is really at fault here, but if Anthropic wanted to contribute non-negligible amounts of code over time then it's an absolute dealbreaker. Sucks for people who were invested in contributing to Bun and don't like working with AI tools to be sure, but I think the writing was on the wall for them pretty much immediately post-acquisition. You must admit, it's hard to predict that 100% of source lines will be written by AI if you're not walking the walk! | |
| ▲ | lowbloodsugar an hour ago | parent | prev [-] | | Yeah, I remember when the lazy bastards started writing programs using compilers instead of learning assembly language. Now I don’t have a single colleague who can write assembly. There’s whole generations now who can’t code assembly. Most don’t even know what a register is. Hope Zig holds against this latest attempt to make everyone stupid. | | |
| ▲ | gls2ro 42 minutes ago | parent | next [-] | | Generating AI code/PR is not the same as using compilers because of at least two things: - the scale of how much and how fast you can generate code with AI vs how fast can you write code for compiler - the mental model of what is being generated and how much the contributor understands and owns the generated code | |
| ▲ | wtetzner 44 minutes ago | parent | prev | next [-] | | Using an LLM isn't analogous to using a higher level language. | |
| ▲ | gertop 27 minutes ago | parent | prev [-] | | Your analogy falls apart because the "lazy bastards" still knew how to program and understood the code they were working on. Vide-coders often don't read, let alone understand, the code they send for PRs. |
|
| |
| ▲ | foresterre 29 minutes ago | parent | prev | next [-] | | There are other reasons why a project like Zig might not want to accept LLM generated contributions. Zig, as programming language, has a multiplier codebase. A bug may affect a significant larger portion of users than most libraries or binaries will, as it's a fundamental building block of everything that uses Zig. Just that could be worth the extra scrutiny on every individual commit. There's also the usual arguments: copyright ethics, environmental ethics and maintainer burden. | |
| ▲ | KingMob an hour ago | parent | prev | next [-] | | Possibly, but the Zig creator is active on Lobste.rs, where he's been vocally anti-LLM for a year now, so the timing could just be a coincidence. | |
| ▲ | ai_critic 2 hours ago | parent | prev [-] | | It's a combination of pragmatism (not wanting to wade through slop, not wanting to shove out newbie developers) and politics (usual contemporary techie progressive stuff that's now oddly anti-technology). | | |
| ▲ | Onavo an hour ago | parent | next [-] | | I like your username. | |
| ▲ | Scarbutt 33 minutes ago | parent | prev [-] | | Pragmatism in this case would mean knowing that Bun devs aren't going to intentionally submit slop to a project they depend on. So it's worth the review? |
|
| |
| ▲ | pton_xd 2 hours ago | parent | prev | next [-] | | Anthropic just needs to buy Zig! Problem solved. | | | |
| ▲ | wg0 2 hours ago | parent | prev | next [-] | | So if tomorrow Rust denied the "improvement" to upstream Rust then what's the next language they plan to vibe code it in? | | |
| ▲ | f33d5173 32 minutes ago | parent | next [-] | | Rust is a significantly more mature language. Adoption of zig has to be done on the assumption that the language will significantly improve as your project evolves, and if those improvements don't agree with your project's goals you're in something of a lurch. Rust is basically finished and adopting it has to be done on the assumption it won't change very much. I don't know what their initial logic for adopting zig was, but I think porting to a more mature language was inevitable, unless by some miracle zig happened to rapidly mature in exactly the direction they wanted, | |
| ▲ | postepowanieadm 43 minutes ago | parent | prev | next [-] | | Perl | |
| ▲ | petre 2 hours ago | parent | prev | next [-] | | C obviously. | | |
| ▲ | wg0 an hour ago | parent [-] | | I was hoping bash because why not. It's AI that has to work and maintain anyway and Anthropic employees aren't limited by 5 hour 7 days limits anyway I suppose. |
| |
| ▲ | echelon 2 hours ago | parent | prev [-] | | Rust is legit one of the best languages to "vibe code" in. The emitted AST has a lower defect rate since it incorporates strong types and in-built error handling. Other pros include native code and portability, but downside is the compile time. | | |
| ▲ | wg0 an hour ago | parent | next [-] | | This could be a subjective feeling with no real data to back it up. People say same about Go as well that it's type system and limited feature set makes it the best AI friendly language but there too, it just seems like a hunch rather than a proven fact. | | |
| ▲ | treyd an hour ago | parent | next [-] | | The thing is that this argument doesn't work with Go because its type system (and the whole language, really) is much less expressive and compiler gives a lot less feedback to the LLM. So it tends to have to write more unit tests and do more cycles of testing (and spend more tokens) to get it right. | | |
| ▲ | wg0 36 minutes ago | parent [-] | | The argument about type system is absurd anyway. The types in a program aren't a universal vocabulary that the LLM would already know about like the words of English language. They are unique to each program and domain so an LLM can't be better at it. Let me elaborate further - it's like the proficiency of LLMs in writing English vs writing Sawahili or Kurdish. The types of a program are like Swahili or Kurdish etc even worse because those languages still have sizeable chuck on the Internet and digital archives but types of a program are very specific to it. | | |
| ▲ | treyd 10 minutes ago | parent [-] | | Studies have shown that natural human languages are all more or less equally expressive in terms of bits per second while speaking. There's lots of different ways they can be structured but they tend to follow common rules that have been well-characterized by linguists. They can be used to describe formal mathematical statements, but are not rigorously formal languages themselves. Programming languages, in contrast, are constructed and vary much more in their designs. They are formal languages, making them closer to math than spoken language. LLMs being able to describe concepts more thoroughly and precisely through more expressive semantics obviously makes some languages more suitable than others. The type system of a language is just one aspect of it that allows the language to provide guarantees to the LLM (and the user) about correctness of the code it's writing. I am not speaking about specific types in specific programs. I am talking about the ability to describe complex constraints that LLMs (and humans) end up using to make writing correct code easier and more productive. Some programming languages absolutely are more effective at this than others, and that's always been true even before LLMs. |
|
| |
| ▲ | Onavo an hour ago | parent | prev [-] | | If we are gonna go down that rabbit hole, then the natural conclusion is Haskell. | | |
| ▲ | boxed 41 minutes ago | parent [-] | | Which seems pretty reasonable tbh. Claude Code is amazing with Elm in my experience. |
|
| |
| ▲ | nvader 2 hours ago | parent | prev [-] | | Excellent comment. As a downside, the compile time is somewhat offset once you're using agents (and especially parallel agents) anyway. Since all of your edits cost a round-trip API call to a third party server, you can accept a slightly slower compile step. |
|
| |
| ▲ | parchley 36 minutes ago | parent | prev | next [-] | | Read the previous discussions on the topic. Your summary is a sensationalist lie, since their change was apparently a smoking pile of hot garbage, and Zig already had similar performance gains in a newer release. | |
| ▲ | rdmsr0 2 hours ago | parent | prev | next [-] | | Even if AI had not been used, the changes would not have been upstreamed, see https://ziggit.dev/t/bun-s-zig-fork-got-4x-faster-compilatio...
tl;dr the supposed improvements are not sound and the zig compiler has already gotten a whole lot faster | | |
| ▲ | nechuchelo an hour ago | parent | next [-] | | This should be the top comment in the whole thread. AI is not the point, the PR is just not of a good quality. | |
| ▲ | abtinf an hour ago | parent | prev | next [-] | | That is a devastating comment. I will now be extremely skeptical of bun. | |
| ▲ | abpin an hour ago | parent | prev | next [-] | | Thanks, that is the answer. | |
| ▲ | NewJazz an hour ago | parent | prev [-] | | What a sober, detailed forum post. |
| |
| ▲ | abacadaba 2 hours ago | parent | prev | next [-] | | seems easier to fork zig | | |
| ▲ | kimos an hour ago | parent [-] | | Then that becomes an ongoing effort. The rewrite is once. (Good idea or not) |
| |
| ▲ | cybercatgurrl 2 hours ago | parent | prev [-] | | good, more reason to stay away from zig | | |
| |
| ▲ | malisper 3 hours ago | parent | prev | next [-] | | > what looks like a massive undertaking for vibe coding fwiw, I suspect it's less of an undertaking than you may think. I've been playing with AI to rewrite Postgres in Rust[0] over the past couple of weeks and I found the AI to be exceptional at doing rewrites. Having an existing codebase you can reference prevents a lot of the problems you have with vibecoding. You have an existing architecture that works well and have a test suite that you can test against Over the course of a month I've gone from nothing to passing over 95% of the Postgres test suite. Given Jarred built Bun, I bet he'll be able to go much faster [0] https://github.com/malisper/pgrust | | |
| ▲ | nailer 3 hours ago | parent [-] | | > I suspect it's less of an undertaking than you may think... having an existing codebase you can reference prevents a lot of the problems you have with vibecoding. That's because it's not vibe coding - stingraycharles doesn't seem to understand what vibe coding is. Vibe coding was defined here https://x.com/karpathy/status/1886192184808149383 > There's a new kind of coding I call “vibe coding”, where you fully give in to the vibes, embrace exponentials, and forget that the code even exists. This is very far from Anthropic's migration plans. | | |
| ▲ | andai 2 hours ago | parent | next [-] | | Yeah, it's a distinction worth making, and the language for making it kind of sucks. Vibe coding means "AI does the whole thing", or "I use tab autocomplete" depending on who you ask. It's not a very useful term anymore, we need better ones. My benchmark is basically, "are you letting the AI drive." In this case, an AI appears to have written the migration guide... | | |
| ▲ | wrs 2 hours ago | parent | next [-] | | It was and is a perfectly good term, but people started using it without regard for its definition. I don't know why people wouldn't misuse a "better" term the same way. | | |
| ▲ | kelnos an hour ago | parent [-] | | In this case I think the current zeitgeist (at least among zoomers and younger millennials) really loves the word "vibe". Once they hear of the term "vibe coding", they just want to be able to say it, even if what they're doing isn't really vibe coding. And then that leaks outside their social and age groups, because other people hear the incorrect usage, get confused, and incorporate that confusion into their own use of the term. |
| |
| ▲ | c0rruptbytes 2 hours ago | parent | prev [-] | | i mean AI docs are usually the result of collabs between users and AI using /plan with superpowers, i see a lot of specs -> impl plan -> execute plan |
| |
| ▲ | bitwize 2 hours ago | parent | prev [-] | | "Vibe coding" = "let Dario take the wheel" as ThePrimeagen puts it. |
|
| |
| ▲ | mroche 4 hours ago | parent | prev | next [-] | | I do not know if there's any overlap between these teams, but it seems like Anthropic itself is fairly invested in the Rust ecosystem. They recently proposed some of their internal tools to be the official Rust implementation[0] of Connect RPC[1]. As a protobuf based library set, this includes a new Rust-based protobuf compiler, Buffa[2]. [0]: https://github.com/orgs/connectrpc/discussions/7#discussionc... [1]: https://connectrpc.com/ [2]: https://github.com/anthropics/buffa | |
| ▲ | Avicebron 4 hours ago | parent | prev | next [-] | | I imagine claude is better at Rust than Zig? | | |
| ▲ | allthetime 4 hours ago | parent | next [-] | | Zig is a moving target. 0.15 -> 0.16 includes some massive structural changes concerning IO and async/threading. Claude has absolutely no idea what it's doing with bleeding edge zig unless you feed it source and guide it closely (in which case it's useful for focused work) - I'm building a game engine & tcp/udp servers with it and it requires a hands-on approach and actually understanding what's being built. I imagine these are not really concerns with rust at this point. In my ideal world the team behind bun would be putting in the work to keep up with modern zig, but it's starting to look like they are running mostly on vibes in which case rust might be a better choice. | | |
| ▲ | rudedogg 3 hours ago | parent | next [-] | | > it requires a hands-on approach and actually understanding what's being built. I think this is true regardless of what language you’re using. I’ve built a lot in Zig and there’s no difference between vibing stuff in it versus TypeScript/React. Claude can “one-shot” them both, and will mimic existing code or grep the standard library to figure everything out. | |
| ▲ | 10000truths 2 hours ago | parent | prev [-] | | > unless you feed it source Which isn't particularly difficult - the language docs and std source come with the installation, so all you need to do is tell Claude where those directories are in your skill/plugin/CLAUDE.md. > and guide it closely (in which case it's useful for focused work) It does struggle sometimes with writing code that compiles and uses the APIs correctly. My approach to that so far has been to write test blocks describing the desired interface + semantics, and asking Claude to (`zig test` -> fix errors) in a loop until all the tests pass. | | |
| ▲ | allthetime 2 hours ago | parent [-] | | You're already at a disadvantage having to stuff the context and spend extra tokens coercing the model in the correct direction compared to it already knowing what to do (rust, ts, go, etc.) Here, I just did a quick test with claude. 1. "make a simple tcp echo server that uses rust" compiles and runs - took a few seconds to generate. 2. "make a simple tcp echo server that uses zig" result: compile error, took literal minutes of spinning and thinking to generate response: "ziglang.org isn't in the allowed domains. Let me check if there's another way, or just verify the code compiles conceptually and present it clean." /opt/homebrew/Cellar/zig/0.15.2/lib/zig/std/Io/Writer.zig:1200:9: error: ambiguous format string; specify {f} to call format method, or {any} to skip it
@compileError("ambiguous format string; specify {f} to call format method, or {any} to skip it");
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3. "make a simple tcp echo server that uses zig 0.16" result: compile error: zig build-exe main.zig
main.zig:30:21: error: no field named 'io' in struct 'process.Init.Minimal'
const io = init.io;
^~ 4. "make a simple tcp echo server that uses zig 0.15" result: compile error zig build-exe main.zig
/nix/store/as1zlvrrwwh69ii56xg6yd7f6xyjx8mv-zig-0.15.2/lib/std/Io/Writer.zig:1200:9: error: ambiguous format string; specify {f} to call format method, or {any} to skip it
@compileError("ambiguous format string; specify {f} to call format method, or {any} to skip it"); Rust took seconds and just works. Zig examples took minutes and don't work out of the box. The DX & velocity isn't even close. | | |
| ▲ | dimator an hour ago | parent [-] | | i mean, if zig is doing its best (inadvertently) at shooing off slop jockeys, then i already have more confidence that: 1. the language and stdlib are written by people who know what they're doing
2. packages in the ecosystem, at the barest level, are written by those who didn't leave after a few compile errors they couldn't reason about | | |
| ▲ | Philpax an hour ago | parent [-] | | The agents will churn their way through the errors. The new users whose learning material is out of date, as well as the existing users that have an insurmountable task in updating their code, will give up instead. I think the changes are improvements, but there's a real cost to language churn, and every time it happens, the graveyard of projects grows just that little bit larger. |
|
|
|
| |
| ▲ | fcarraldo 4 hours ago | parent | prev | next [-] | | Contributors and maintainers will also be easier to find in Rust than Zig. Zig is a great language and I want to see it succeed, but this is a prudent move for Bun. | | |
| ▲ | GuB-42 3 hours ago | parent | next [-] | | I wouldn't call any port "prudent". In general, taking mature software and doing any major rewrite is one of the riskiest thing you can do. It is a large scale attempt to fix what isn't broken. Sometimes it is worth it, but it may also kill projects. A risky move. And AI doesn't help its cause. AI can save a lot of time when making ports, it is one of the things it does best, but it doesn't protect from regressions. I am not using Bun in production, but if I was, I would consider it a risk. Not because of Rust vs Zig, but for changing things that work. | |
| ▲ | versecafe 4 hours ago | parent | prev | next [-] | | This is likely irrelevant given bun has stopped taking community PR's entirely and Jarred is pitching that human contributors should be banned. | | |
| ▲ | etoxin 3 hours ago | parent | next [-] | | There is like 1,713 open PR's on the Bun repo. I'm assuming all are from Claude or robobun?. I guess this gives us an insight on what the claude-code workflow look likes. Crazy times. | |
| ▲ | jabedude 3 hours ago | parent | prev [-] | | Where is a source for either of these extraordinary claims? | | |
| |
| ▲ | TheRoque 3 hours ago | parent | prev | next [-] | | Why didn't they use Rust in the first place then ? All this was true before AI | | |
| ▲ | tux1968 an hour ago | parent [-] | | Anthropic only acquired Bun in December of last year. They weren't there in the first place, to make the decision. |
| |
| ▲ | unclad5968 4 hours ago | parent | prev | next [-] | | I don't think Zig is different enough from rust or any other systems language for it to matter. If you can write rust you can write Zig. | | |
| ▲ | jaggederest 3 hours ago | parent | next [-] | | Anthropic makes claude, claude can write Rust like a champ and struggles at Zig. It's a straightforward "training data" argument. I think there are even longer term plays that Anthropic should be looking at, in this space, but it seems like they've decided rust is the right thing, so fair play. I would be (am!) thinking about making an LLM optimized high level language that you can generate / train on intensively because you control the language spec. | | |
| ▲ | aabhay 3 hours ago | parent | next [-] | | Claude doesn’t write Rust like a champ. It’s still miles ahead at js and python than it is at rust. It can do macros and single file optimizations but its gotten really stuck in type hell and tried to dyn everything on multiple occasions for me. | | |
| ▲ | vlovich123 3 hours ago | parent [-] | | Claude struggling at Rust: not getting types correct, using the wrong abstractions, not implementing things correctly Claude struggling at Zig: the above + memory safety issues if you run “fast” mode. It is generally true that Rust code tends to be written in a way that the compiler catches the issue at compile time. The same is not as true for Zig, Python or JS |
| |
| ▲ | dnautics 3 hours ago | parent | prev [-] | | claude does not struggle with zig? not in my hands anyways. |
| |
| ▲ | speed_spread 3 hours ago | parent | prev [-] | | I'm reminded of the old joke "how to shoot yourself in the foot in 25 different languages". The first one was "C - you shoot yourself in the foot." Zig remains very close to that philosophy. So the difference is not in writing new stuff but in maintaining the existing codebase. Rust's rigidity makes it potentially harder to break stuff compared to Zig's general flexibility. As a project grows and matures, different types of contributors naturally come in and it's unreasonable to expect everyone to learn about historical footguns that may have accumulated. |
| |
| ▲ | chrisweekly 3 hours ago | parent | prev [-] | | 100%.
For many people, Bun is the only reason they've even heard of Zig. I'm not in a position to comment intelligently on comparative language features per se, but when it comes to mindshare and community size, Rust is a clear winner. | | |
| ▲ | majormajor 3 hours ago | parent [-] | | fwiw before today I'd heard of Zig and not Bun :D something JS-adjacent could certainly be more known than an obscure language but are that many people using drop-in node replacements? | | |
|
| |
| ▲ | kllrnohj 3 hours ago | parent | prev [-] | | I would expect all LLMs are going to be better at Rust than Zig - a strong, thorough compiler will simply prevent more mistakes, and the benefits of a "simple" language decreases the larger the code base gets. The more abstractions exist, the less valuable "no hidden control flow" or "no hidden allocations" from the standard library get, and that's before you add the mother of all abstractions of vibe coding. | | |
| ▲ | pizlonator 2 hours ago | parent [-] | | I have no doubt that LLMs are good at Rust. But I can’t reconcile the reasoning about “strong, thorough compiler” with the fact that LLMs are also fantastic at Ruby. They also write really great posix shell (including very sophisticated scripts) and python. Something more subtle is going on. | | |
| ▲ | josephg 2 hours ago | parent [-] | | They do work well. But I still see the occasional type related issue or bug from refactoring that claude will introduce into javascript and python code. It seems to be happening less and less frequently as the models get better. But, the rust compiler catches real bugs in LLM code. I consider that a win. Has anyone made any cross language benchmarks for LLMs? I wonder if rust's conceptual complexity makes it harder for LLMs to write? If all you care about is working software, which language is best for LLMs? Python, because there's more example code? Go or Java, because they're simpler languages? Ruby because its terse? Rust because of the compiler? I'd love to see a comparison! |
|
|
| |
| ▲ | simultsop an hour ago | parent | prev | next [-] | | The industry does not shape bases on HN top posts, nor media buzz.
Remember youtube birth. Necessity, available tech, fresh talent. I believe now we have all but we fail at choosing. | |
| ▲ | NewsaHackO 4 hours ago | parent | prev | next [-] | | But why should they? This just seems like the groundwork for an initial refactor and moving from one language to another. They haven't actually committed to switching from Zig to Rust yet. I mean, I get if you are an investor and you want to see if they are using their time effectively, but why would it matter to anyone else? | | |
| ▲ | stingraycharles 3 hours ago | parent | next [-] | | They’re not required to do so, but like I said, it would be nice, because it removes a lot of speculation. And development is in the open, so people notice what they’re doing. | |
| ▲ | SergeAx 4 hours ago | parent | prev [-] | | Lots of people, me included, heavily invested their time and expertise into Bun, using it as a daily driver, to bundle production code or even using it in production as a JS/TS runtime. Of course, we are interested in Bun to stay a useful tool. The Anthropic acquisition was worrying enough on its own. | | |
| ▲ | NewsaHackO 3 hours ago | parent [-] | | But there isn't any change in someone's expertise in Bun though, currently, just in development. Why would they have to dive you into a daily stand-up about their development process? |
|
| |
| ▲ | splittydev 3 hours ago | parent | prev | next [-] | | Honestly, this kind of thing seems to work quite well with vibe coding. If I remember correctly, the Ladybird JS engine was "vibe-ported" to Rust as well, and it passed 100% of the original test suite, in addition to new Rust tests. | |
| ▲ | nailer 4 hours ago | parent | prev | next [-] | | > what looks like a massive undertaking for vibe coding It doesn’t look like that at all. Do you think that all use of AI is vibe coding? | | |
| ▲ | WD-42 3 hours ago | parent | next [-] | | Did you look at the branch? This is vibed, even with the most liberal definition https://github.com/oven-sh/bun/compare/claude/phase-a-port This single commit is 65k lines of additions https://github.com/oven-sh/bun/commit/ffa6ce211a0267161ae48b... | | |
| ▲ | nailer 3 hours ago | parent [-] | | The definition is at https://x.com/karpathy/status/1886192184808149383 and no that does not match what is in the branch. Systemically migrating a code base using an LLM does not match the defintion of vibe coding. There's a decent article by Simon Willison that talks about this: https://simonwillison.net/2025/Mar/19/vibe-coding/ > I’m seeing people apply the term “vibe coding” to all forms of code written with the assistance of AI. I think that both dilutes the term and gives a false impression of what’s possible with responsible AI-assisted programming. | | |
| ▲ | WD-42 2 hours ago | parent | next [-] | | You're right, all 750k lines of code added in a single day - definitely reviewed and completely understood. | |
| ▲ | Dylan16807 36 minutes ago | parent | prev | next [-] | | The dilution of the term is a real problem sometimes. But pointing your AI at an entire codebase to transpile pretty much entirely by itself? Yeah vibe coding is a fitting term. Even if you wrote it a small essay on how to Rust. That improves the situation but doesn't change the core autonomy/hope of the task. | |
| ▲ | brailsafe 2 hours ago | parent | prev [-] | | This is just a coined term; definitions evolve over time based on usage | | |
| ▲ | gschizas 2 hours ago | parent [-] | | All language is "coined terms". The point is that if you dilute the definition of a term, you make the term useless. Evolution of a term isn't done automatically. Correcting terms such as these pushed the evolution in a more useful way. Also, evolution of language is not a magic spell that automatically forgives people on making language mistakes. |
|
|
| |
| ▲ | stingraycharles 3 hours ago | parent | prev | next [-] | | I think the definition of vibe coding is a bit fluid, in this case I just meant it to be “code fully generated by AI, possibly not fully reviewed by human eyes”. I agree that this definitely not “coding based purely off vibes”, and the approach looks legit. | |
| ▲ | allthetime 3 hours ago | parent | prev | next [-] | | what would you call a fully uncommented commit with "+27,939Lines changed: 27939 additions & 0 deletions" of new rust code | | |
| ▲ | LamaOfRuin 2 hours ago | parent | next [-] | | The commit would look exactly like that if it was a 100% deterministic transpilation (like Golang did with their original C implementation?). This is obviously very different from that, but the way the commit looks doesn't make it so. | |
| ▲ | heddhunter 3 hours ago | parent | prev | next [-] | | Just another Monday in 2026. | |
| ▲ | vips7L 3 hours ago | parent | prev | next [-] | | The blind leading the blind. | |
| ▲ | geodel 3 hours ago | parent | prev [-] | | I'm sure it will be called Systems Programing . Because Rust. |
| |
| ▲ | MarsIronPI 4 hours ago | parent | prev | next [-] | | It depends on what you mean by "vibe coding". Is AI coding based on an existing implementation vibe coding? What about only from a natural-language spec? How does manual reviewing affect whether or not it's vibe coding? | |
| ▲ | lmm 3 hours ago | parent | prev [-] | | In practice all use of AI rapidly becomes vibe coding. Even if someone says they're going to carefully manually review everything that's generated, within a couple of days they get bored and just click approve. | | |
| ▲ | jmull 3 hours ago | parent | next [-] | | While I'm sure you're speaking for many, this is definitely not true across the board. | |
| ▲ | markatto 2 hours ago | parent | prev | next [-] | | This is just a matter of priorities - I use LLMs to write code every day and I have never put a single line of code up for review that I didn’t read and understand. | |
| ▲ | p-e-w 3 hours ago | parent | prev [-] | | Not to mention that manually writing code is itself a process of understanding. It cannot be replicated by reading code, no matter how carefully. |
|
| |
| ▲ | pstuart 4 hours ago | parent | prev [-] | | Porting from one typed language to another seems like a perfect use for LLMs. I can see the appeal of both languages and why to consider such an action (e.g., rust is a mainstream PL vs zig's cult status (no slight intended)). | | |
| ▲ | rtpg 4 hours ago | parent [-] | | I think the big difficulty here is that Rust's ownership model in particular tends to require certain kinds of control flow to avoid a bunch of weird churning/copying, which makes it not as straightforward of a port target from other imperative languages. Like maybe you get the LLM to try _really hard_ to churn through everything, but this feels like a big case of "perils of the lack of laziness". Of course if you have a good idea for how to deal with allocations etc "idiomatically" already maybe that works out well. And to the credit of the port guide writer bun seems to have its explicit allocations that are already mapping pretty well to Rust. | | |
| ▲ | pstuart 3 hours ago | parent [-] | | This is all wild conjecture, but I'd assume that teaching the LLM to do that mapping is an achievable goal and then it get's close to automatic -- effectively slurp the source AST into a rust AST and render. My only experience with ports so far is Python to Go, and it's been near flawless (just enough stupid shit to make me feel justified to be in the loop). | | |
| ▲ | rtpg 2 hours ago | parent | next [-] | | It really isn't if you don't have the right abstractions. Especially for memory management the right and wrong abstractions in Rust can lead to a factor of 5 or 10 extra amount of difficulty. The right memory management abstraction and your code can be a straight line port (or even cleaner!), the wrong one and you're going to just be spending a lot of tokens to have a machine spin around in circles trying to untie itself GC'd languages don't have this problem, though obviously you can still generate stupid amount of pain for yourself by doing something wrong | |
| ▲ | spem-in-allium 3 hours ago | parent | prev [-] | | I'm porting a large-ish delphi application to c sharp. It's been pretty hands-off except for converting to async and some language capability mismatch. |
|
|
|
|
|
| ▲ | kgeist 3 hours ago | parent | prev | next [-] |
| Interesting how times have changed. Back in 2015, the entire Go runtime (already a mature codebase) was rewritten from C to Go semi-automatically: one of the maintainers wrote a C-to-Go conversion tool (for a subset of C they used) so that it compiled and produced identical output, and then the resulting code was manually refactored to make the Go code more idiomatic and optimized. And now you can just ask a language model. The slides:
https://go.dev/talks/2015/gogo.slide#3 An interesting similarity: >We had our own C compiler just to compile the runtime. The Bun team maintain their own fork of Zig too |
|
| ▲ | archargelod 3 hours ago | parent | prev | next [-] |
| Linked commit is probably not the most convincing for this tagline. Here's a branch[0] of Claude mass rewriting Zig code into Rust which is currently at 773,950 additions and 151 deletions: [0]: https://github.com/oven-sh/bun/compare/claude/phase-a-port |
| |
| ▲ | dsissitka an hour ago | parent [-] | | I was curious how much work this would be. Here are the top five from cloc: -------------------------------------------------
Language files blank comment code
-------------------------------------------------
Zig 1298 79693 60320 571814
TypeScript 2600 67434 115281 471122
JavaScript 4344 36947 37653 290873
C++ 583 27129 19117 215531
C 111 21577 83914 199576
|
|
|
| ▲ | apatheticonion 10 minutes ago | parent | prev | next [-] |
| Having written a JavaScript runtime in Rust in the past - Rust is an excellent choice. Not just due to the development experience, but also for embedders who want to consume the project as a a library (rather than a binary, e.g. node). Not sure about vibe-coding it. While they aren't using v8, LLMs made it easier to understand v8 quirks and update v8 as they make weird changes every now and then. It couldn't write the runtime without help though. For those curious: https://github.com/alshdavid/ion |
|
| ▲ | hsaliak 3 hours ago | parent | prev | next [-] |
| The problem with vibe coded re-writes is that you basically sign off on understanding the generated codebase at that point. Any historical knowledge of the codebase is gone. |
| |
| ▲ | noveltyaccount 3 hours ago | parent [-] | | This prompt defines the translation as a file for file, line for line port. Seems like historical knowledge will be fine. | | |
| ▲ | mr_00ff00 2 hours ago | parent | next [-] | | Having dabbled with both Zig and Rust, they do things so fundamentally differently, it isn’t possible to do exact lines like that. | | |
| ▲ | mswphd an hour ago | parent | next [-] | | the rust they've written (so far) is highly unidiomatic (and with a ton of unsafe). I can't speak to the zig part, but it seems plausible to me it is line-by-line, horrendous rust. Whether or not they can clean it up is an interesting question. | | |
| ▲ | vintermann 8 minutes ago | parent [-] | | If anyone can do it, it's Anthropic. The question is more how long it will take and how many tokens it will burn/how much groundwater. |
| |
| ▲ | swyx 32 minutes ago | parent | prev [-] | | care to attempt a top 3 differences that someone doing this kind of rewrite should know? (would teach me a little about Zig, about which i know 0) |
| |
| ▲ | jjice 2 hours ago | parent | prev [-] | | It makes the git history a bit more confusing to follow if you want to see old changes, but I'm sure a simple wrapper to check for the zig equivalent files as well wouldn't be very difficult. |
|
|
|
| ▲ | jr-14 3 hours ago | parent | prev | next [-] |
| I want zig to succeed but given that zig is not yet 1.x I'd imagine a large code base like bun would have difficulties addressing major breaking changes. Also given the fact that bun is using a fork of zig https://x.com/bunjavascript/status/2048427636414923250?s=20 |
|
| ▲ | tacitusarc 3 hours ago | parent | prev | next [-] |
| I wonder if a successful, albeit slower, approach would be to walk the git commit history in lockstep, applying the behavioral intent behind each commit. If they did this, I would be interested in knowing if they were able to skip certain bug fix commits because the Rust implementation sidestepped the problem. |
| |
| ▲ | efficax 2 hours ago | parent | next [-] | | this is an interesting idea and i might try it with something smaller. there are more than 15,000 commits to bun, so you’d have to have some sort of way to operate on groups of commits in one prompt to get that done without thousands and thousands of api requests | |
| ▲ | lll-o-lll 2 hours ago | parent | prev [-] | | Interesting idea |
|
|
| ▲ | bijowo1676 20 minutes ago | parent | prev | next [-] |
| Its never been easier to rewrite X in Rust than today. Will everything eventually be rewritten in Rust and we finally achieve utopia? |
|
| ▲ | inkysigma 4 hours ago | parent | prev | next [-] |
| So I can't tell if the linked commit is an actual attempt or just an experiment but it did always strike me as odd to make a JS runtime in Zig when my impression was there were a lot of work-stopping compiler bugs at the time. |
|
| ▲ | classicposter 2 hours ago | parent | prev | next [-] |
| https://github.com/oven-sh/bun/issues/30197 It seems there was an issue where the image API ignored the ICC Profile.(now fixed)
Any developer with experience implementing image formats would almost certainly avoid this mistake. This is a problem that cannot be solved with vibe coding. In this situation, the user is merely a guinea pig for bug fixes. |
| |
| ▲ | simonw 2 hours ago | parent [-] | | ... and that bug was spotted in the canary release, reported and fixed. Sounds like responsible open source software development to me. That's what pre-releases are for. |
|
|
| ▲ | Humphrey 4 hours ago | parent | prev | next [-] |
| I'll be very interested in how this AI port turns out. I am involved in a number of active projects that are being held back by the language / framework is holding back the project, but where a rewrite would be too big of a project to undertake by using only human power. I've had more success vibe coding Rust than I have in more dynamic languages. I suspect the strictness of the Rust compiler forces the AI agent to produce better code. Not sure. It could be just that I am less familiar with Rust so it feels like it's doing a better job. |
| |
| ▲ | rustybaritone 2 hours ago | parent [-] | | Yes it generates trash Rust code. > Not sure. It could be just that I am less familiar with Rust so it feels like it's doing a better job. Ya think? | | |
|
|
| ▲ | toledocavani 3 hours ago | parent | prev | next [-] |
| For better or for worse, at least Bun is open source, and the world is not lacking a NodeJS alternative. What is the most interesting here for me is: - a big, clear outcome and acceptance criteria, vibe coding project on - a public, working, high performance, full featured, production codebase by - the leading LLM model maker known for the strongest coding ability A good example no matter if it successes or not. |
|
| ▲ | wg0 2 hours ago | parent | prev | next [-] |
| If nothing, it'll be good marketing material targeted at non-technical enterprise executives so that they pressurize their engineering teams in meetings that look people are porting such complicated things from one different language to totally different language then why are we not using AI effectively?! |
|
| ▲ | hbbio 3 hours ago | parent | prev | next [-] |
| Given they have "unlimited" AI usage, do we expect the port to be complete tomorrow? |
|
| ▲ | yladiz 4 hours ago | parent | prev | next [-] |
| Why? Are there particular reasons that the maintainers of Bun feel the need to attempt to migrate from Zig to Rust? |
| |
| ▲ | _--__--__ 4 hours ago | parent | next [-] | | Possibly related to https://simonwillison.net/2026/Apr/30/zig-anti-ai/ where the Bun team wanted to upstream work to Zig that was rejected by a blanket anti-LLM contribution policy. | | | |
| ▲ | nikeee 4 hours ago | parent | prev | next [-] | | Zig is a moving target that has breaking changes in every release (which is fine as they are sub-1.0). But that means that AI tools have been trained on outdated syntax/etc. Zig isn't that common, so there is even less training data to begin with. Rust on the other hand is pretty established by now and has less breaking changes. It also has more compile-time safety-guarantees that makes vibe-coding a bit more confident. In top of that, Zig has rejected their upstream contributions. So they'd have to maintain their own compiler in the long run, which is probably just technical debt to maintain. | | |
| ▲ | nullstyle 3 hours ago | parent [-] | | Most of my vibe coding is in zig, and it has been my experience that Claude and Codex both keep up with zig changes just fine. Every now and then I catch them writing outdated code that they burn some tokens on, but my experience says your local codebases’s idioms will influence what gets generated enough to stop this from being a problem. |
| |
| ▲ | reissbaker 4 hours ago | parent | prev | next [-] | | Probably an experiment due to Bun's PRs to Zig being rejected (Zig does not allow AI use). If Rust works well enough, and the alternative is maintaining a fork of Zig, I'd guess they'd go with Rust. | | |
| ▲ | philwelch 3 hours ago | parent [-] | | Also, if Zig itself doesn’t accept AI contributions, it’s probably NGMI unless somebody is willing to maintain that fork. |
| |
| ▲ | tom_ 3 hours ago | parent | prev [-] | | If the computer can do it for them, then why not? |
|
|
| ▲ | elffjs 3 hours ago | parent | prev | next [-] |
| Comparing this claude/phase-a-port branch with main: “Showing 1,646 changed files with 773,950 additions and 151 deletions.” |
|
| ▲ | thayne 3 hours ago | parent | prev | next [-] |
| When I first heard that bun was written in zig, I thought that was an odd choice for such a large project, mostly because the language is "unstable" and is still making significant breaking changes. I would guess dealing with breaking changes is a big motivation for this. |
|
| ▲ | cropcirclbureau 3 hours ago | parent | prev | next [-] |
| The only Bun shipped product I've used in anger is OpenCode and I regularly run into segfaults on it. I doubt this is the reason for migration but every time it happens, it reminds me the real cost of unsafe code. That being said, Zig is an absolute pleasure to write and I can't wait until it has a real library ecosystem, Rust's greatest boon. |
| |
|
| ▲ | thatxliner 2 hours ago | parent | prev | next [-] |
| Didn't they write a whole blog post on why they chose Zig over Rust? |
|
| ▲ | ngoquocdat an hour ago | parent | prev | next [-] |
| I think they are simply experimenting to fully exploit Claude's models' powerful capabilities. |
|
| ▲ | anymouse123456 3 hours ago | parent | prev | next [-] |
| This is a huge loss for the zig language and community. As a fan of the language, I hope it leads to some reflection on things that might need to change moving forward. |
| |
|
| ▲ | heldrida 4 hours ago | parent | prev | next [-] |
| I suspect that an experiment is being run. In any case, that'll be a hell of a story! |
|
| ▲ | classicposter 2 hours ago | parent | prev | next [-] |
| https://x.com/bunjavascript/status/1966806250827714736 Haha, is it really okay not to retract that that the official account previously posted a caricature criticizing Rust? |
| |
| ▲ | Petersipoi 2 hours ago | parent [-] | | Yes, it's quite ok to not "retract" a goofy image from months ago. It's harmless fun. |
|
|
| ▲ | ivolimmen an hour ago | parent | prev | next [-] |
| I am not a fan of AI but my limited experience with running local small LLM's did show me that rewriting some scripts into a different language worked really well. So my guess is this will just turn out fine. |
|
| ▲ | davidtranjs an hour ago | parent | prev | next [-] |
| this isn't vibe coding. this is vibe rewriting. ~500k lines of code. nobody is reading those diffs line by line. nobody. |
|
| ▲ | notnullorvoid 3 hours ago | parent | prev | next [-] |
| Probably a good thing for the project even if the only net positive ends up being the Bun team stops maintaining a fork of Zig. |
|
| ▲ | simultsop an hour ago | parent | prev | next [-] |
| Which makes one think, why they did not buy deno at first place then? If they did, I guess they would rewrite deno in C++ |
|
| ▲ | arthurcolle 3 hours ago | parent | prev | next [-] |
| Could just be an experiment or something. It's Monday, the week is young |
|
| ▲ | GianFabien 37 minutes ago | parent | prev | next [-] |
| Here we go again ... Company A buys company B. A's management decrees the henceforth B's aqcuihired team must comply with company A's standards. Second system effect kicks in. Bugs multiply. Half of original company B devs leave. I'm investigating whether future projects should revert to using Deno. |
|
| ▲ | confessinator 3 hours ago | parent | prev | next [-] |
| Aside from Zig's anti-AI stance and maintaining their own Zig fork, I think this port will showcase that Anthropic can re-engineer a massive codebase. As an aside, I've been bitten by Zig's breaking changes on my own projects as well. It's taken the shine off of Zig and I'm looking at alternatives. |
|
| ▲ | Animats 2 hours ago | parent | prev | next [-] |
| How well does that long translation prompt work? |
|
| ▲ | root_axis 3 hours ago | parent | prev | next [-] |
| Any confirmation that a genuine port is underway? This might just be an experiment. |
|
| ▲ | iamgopal an hour ago | parent | prev | next [-] |
| the days are not far when golang will be ported to rust. |
| |
|
| ▲ | icase an hour ago | parent | prev | next [-] |
| oh for christ’s sake |
|
| ▲ | ratstew 3 hours ago | parent | prev | next [-] |
| This feels more like a reaction to Zig's anti-LLM policy than anything. Anthropic would probably like to contribute something back to Zig at some point, but I doubt anyone would ever believe their PRs were not written by Claude. |
| |
| ▲ | lioeters 2 hours ago | parent [-] | | Exactly, this is a direct response to Zig refusing to accept pull requests from Bun (and Anthropic). That situation forced Bun to maintain a fork of Zig, and it makes sense in the long term that they'd rather port their entire project to Rust. I've really enjoyed Bun the past year or so, but the acquisition by Anthropic, Bun's codebase and documentation increasingly becoming AI slop, and this impulsive complete rewrite - all of it has ruined it for me and I'm actively moving off of Bun. I don't feel comfortable relying on it any longer. | | |
|
|
| ▲ | forrestthewoods 2 hours ago | parent | prev | next [-] |
| I hope they ship and use this. It’ll be a super interesting case study in a few years. |
|
| ▲ | larpa 4 hours ago | parent | prev | next [-] |
| "Claude, migrate bun to Rust, make no mistakes" |
|
| ▲ | AbuAssar an hour ago | parent | prev | next [-] |
| I fully support this decision |
|
| ▲ | booleandilemma 3 hours ago | parent | prev | next [-] |
| Interesting. When I thought of Zig, I thought of Bun. In my mind it was the flagship application for that language. Is there another? I wonder how the Zig team feels about this. To me it seems like Rust has definitively won now. |
| |
|
| ▲ | Capricorn2481 2 hours ago | parent | prev | next [-] |
| April 26th - Bun announces they used AI to fork Zig so they could make an optimization for a 4x improvement April 27th - Zig contributor mlugg clarifies why the specific optimizations Bun did were ill advised and wouldn't have been accepted in Zig, regardless of AI use [1] May 4 - Bun is looking into Rust as an alternative. This, to me, seems like total whiplash. Has anyone at Bun made a statement on why they're making such dramatic changes? It seems like the lesson to internalize from mlugg is not "switch to Rust" [1] https://lobste.rs/s/ifcyr1/contributor_poker_zig_s_ai_ban#c_... |
|
| ▲ | sergiotapia 3 hours ago | parent | prev | next [-] |
| >*No `tokio`, `rayon`, `hyper`, `async-trait`, `futures`.* No `std::fs`, I'm not a rust dev but even I kind of notice that tokio is kind of shunned in most projects. Why is that? Is it just bad or what? |
| |
| ▲ | Philpax 3 hours ago | parent | next [-] | | It's not really shunned - it's the standard solution for async in Rust - but it's not the right solution for every project, especially if you have specific requirements for how your project's computation should be scheduled. I would guess that Bun is one of those projects, especially as it needs to be able to schedule JS async work itself. | |
| ▲ | thombles 3 hours ago | parent | prev | next [-] | | The answer is in the next sentence: "Bun owns its event loop and syscalls." They clearly want to manage their use of threads explicitly, which is not _unusual_ for systems programming but probably less common. Note that `rayon` is different from most of these in that it has nothing to do with async Rust - it's a tool for spreading computation over a thread pool, very popular in non-async projects, but it would also go against their goals here. | |
| ▲ | mmastrac 3 hours ago | parent | prev | next [-] | | tokio is great and it's pretty performant, but you pay an allocation for every future unless you do some complex organization of your futures. Source: I worked on Deno, competed directly with Bun on HTTP performance (and won on some metrics). Edit: and of course I typed future instead of task (aka "spawned future"). Thanks, child commenters below. Much of Deno was built on spawning futures that mapped to promises and doing it as fast as possible. I spent ages writing a future arena to optimize this stuff.. | | |
| ▲ | zamalek 2 hours ago | parent | next [-] | | You only allocate on box futures, which are much more rare than naked futures - generally only used where object safety (essentially dyn support) is required. Even then some workarounds exist. Edit: and tasks. | |
| ▲ | cropcirclbureau 3 hours ago | parent | prev [-] | | Do you mean allocate on every task? |
| |
| ▲ | arjie 3 hours ago | parent | prev | next [-] | | It's an async runtime. The whole async-await flow removes a little bit of scheduling control and adds some forced memory management in order to give you some nicer code in an application case, but if you're trying to build a runtime yourself I think you'd much rather retain control in this case. It's just hard to reason about. You much rather have this runtime you're building manage task scheduling and allocation and all that. It's the most natural design choice to make. | |
| ▲ | cetra3 2 hours ago | parent | prev | next [-] | | In pretty much every bit of code I've written both professionally and leisurely I have always used tokio. However, there are reasons why you might not want to use it: - You don't need async at all - You want to own the async execution polling completely - You want some alternative futures executor like io uring (even though tokio-uring is a thing) | |
| ▲ | zamalek 2 hours ago | parent | prev | next [-] | | Tokio is a general purpose async runtime. Much the same could probably be said for async-std (except IIRC they do have a barebones reactor for you to build your own on). In general, a general-purpose async runtime will do worse for highly specific tasks than a purpose-built one (especially e.g. NUMA). I think avoiding async entirely might be a mistake, and I'm not entirely convinced anything better than a general-purpose async runtime might exist for a JS runtime (it itself is general purpose after all). Avoiding std::fs is fucking bizarre to me: it's completely sync and is a really lightweight abstraction over syscalls. | | |
| ▲ | minimaltom 2 hours ago | parent [-] | | my guess is they want to do AI/O as part of their event loop explicitly, and blocking a thread in a syscall waiting for an IOP (ala std::fs) isn't the vibe. |
| |
| ▲ | allthetime 3 hours ago | parent | prev | next [-] | | You shouldn't have to pull in big complex dependencies to do what should be primitive things. Zig is putting a strong and thought-out effort into getting async & parallelism "right" inside the stdlib. I'm honestly not up to speed with where rust is at with it at the moment, but last time I checked it was a bit of a mess. | |
| ▲ | lstodd 3 hours ago | parent | prev | next [-] | | You try to use it you'll get it. Otherwise it's just words. Like these: rust failed at async. | |
| ▲ | bigstrat2003 2 hours ago | parent | prev | next [-] | | Async is much harder to work with than sync+threading is. And while threads have more overhead in theory, in practice almost nobody is writing applications at such a scale where that overhead actually matters. So I don't blame them for eschewing async, there's likely no benefit for the project in it. | |
| ▲ | dboreham 3 hours ago | parent | prev [-] | | Async is an anti-pattern but sometimes inexperienced developers don't realize that and will infect your codebase with it. | | |
|
|
| ▲ | matrix12 2 hours ago | parent | prev | next [-] |
| it will make it more portable. |
|
| ▲ | 0x142857 4 hours ago | parent | prev | next [-] |
| you can use both zig and rust in a single project, duh |
|
| ▲ | ConanRus 4 hours ago | parent | prev | next [-] |
| instead of writing it once in C++ |
|
| ▲ | nothinkjustai 3 hours ago | parent | prev | next [-] |
| Makes sense on merit. There really isn’t room for Zig when Rust exists, is more ergonomic, and also safe. |
|
| ▲ | Entambi 3 hours ago | parent | prev | next [-] |
| hahaha eat your heart out "don't port it to rust" gang |
| |
| ▲ | sourcegrift 3 hours ago | parent [-] | | I don't think problem ever is Rust, Rust is by far the best systems programming language. Problem is fanboys like YOU. |
|
|
| ▲ | hakrgrl 2 hours ago | parent | prev [-] |
| People are asking why they would switch from zig to rust. I wonder the opposite: why would anyone would use zig over rust? |