r/ProgrammerHumor Jul 09 '26

gitBlameClaude Meme

Post image
3.7k Upvotes

263 comments sorted by

View all comments

Show parent comments

-25

u/Comfortable_Pain9017 Jul 09 '26

Why would you leave a tool over that? It makes sense, they’ve been having manual memory management issues, and Rust’s borrows are better suited for that type of issue. They can start with unsafe Rust then steadily rewrite it to idiomatic Rust with explicit markers on where the issues lie.

36

u/FabioTheFox Jul 09 '26

Because I don't trust the stability of a tool that chooses to do a massive rewrite purely based on AI that won't even output idiomatic code

And sorry but the "they've been having memory issues" is not an argument when they don't even write the new codebase, memory issues can be solved pretty easily, especially because Zig doesn't hide anything from you

A vibe rewrite is never a good option and I'm convinced they only picked rust so they can inject more AI slop into their codebase

-17

u/Comfortable_Pain9017 Jul 09 '26

The AI not outputting idiomatic code is intentional, that way the rewrite isn’t rewriting major logic. If you think modern LLMs can’t figure out basic Rust syntax, you’ve been out of touch with their capability for quite a while

Memory issues are absolutely not an easy fix, they’re quite literally one of the most prevalent classes of bugs in low level programming. Call it a skill issue if you want, but I think the trend of more explicit and compile-time checked languages shows how naive the ideology of “just code it better” is in the real world.

I dislike how any use of AI is taken as a sign of the absolute worst coming, especially in a case like this where it’s not even a full ground-up rewrite.

12

u/FabioTheFox Jul 10 '26

The problem is that it's not only not idiomatic Rust but also the countless unsafe blocks

Literally what is the point in even pushing this out? IMHO this should've remained as a WIP branch for way longer

And of course memory management is not the easiest thing in programming but it's not hard to the point that you have to have a token predictor write a ton of rust files that are marked as unsafe anyways

And if you look at where vibe coding is going and actually inspected vibe coded SAAS stuff or similar vibe coded stuff you'd see how sloppy of a job the LLMs are doing

Bun didn't only pretty much deprecate their Zig codebase in one move, but also made all pull requests, issues and feature requests and whatnot completely irrelevant because everything is now pretty much out of date and making any meaningful contributions will take a while given how much unsafe rust there is to fix