At work today we had a little presentation about Claude Cowork. And I learned someone used it to write a C (maybe C++?) compiler on Rust in two weeks at a cost of $20k and it passed 99% of whatever hell test suite they use for evaluating compilers. And I had a few thoughts.
- 20k in two weeks is a heavy burn. Imagine of what it wrote was… garbage.
- “Write a compiler” is a complete project plan in three words. Find a business project that is that simple and I’ll show you software that is cheaper to buy than build. We are currently working on an authentication broker service at work and we’ve been doing architecture and trying to get everyone to agree on a design for 2 months. There are thousands of words devoted to just the high level stuff, plus complex flow diagrams.
- The C compiler might be somewhat unique in the sense that there are literally thousands of test cases available - download a foss project and try to compile it. If it fails, figure out the bug and fix it. Repeat. The ERP that your boss wants you to stand up in a month has zero test coverage Andy is going to be chock full of bugs — if for no other reason than you haven’t thought through every single edge case and neither has the AI because lots of times those are business questions.
- There is not a single person who knows the code base well enough to troubleshoot any weird bugs and transient errors.
I think this is a cool thing in the abstract. But in reality, they cherry picked the best possible use case in the world and anyone expecting their custom project is going go anything like this will be lighting huge piles of money on fire.
pulsewidth@lemmy.world 3 weeks ago
Agree with all points. Additionally, compilers are also incredibly well specified via ISO standards etc, and have multiple open source codebases available, eg GCC which is available in multiple builds and implementations for different versions of C and C++, and DQNEO/cc.go.
So there are many fully-functional and complete sources that Claude Cowork would have pulled routines and code from.
xep@discuss.online 3 weeks ago
The vibe codes compiler is likely unmaintainable, so it can’t br updated when the spec changes even assuming it did work and was real. So you’d have to redo the entire thing. It’s silly.
exu@feditown.com 3 weeks ago
Updates? You just vibecode a new compiler that follows the new spec
MagicShel@lemmy.zip 3 weeks ago
“I want to add a command line option that auto generates helloworld.exe”
“That’ll be $21,000.”
killabeezio@lemmy.world 2 weeks ago
Nah bro. Just tell the agent to be a super duper distinguished software developer and write no bugs and keep the code maintainable /s