| ▲ | dmitrygr 3 hours ago | ||||||||||||||||||||||||||||||||||||||||
> The generated code is not very efficient. Even with all optimizations enabled, it outputs less efficient code than GCC with all optimizations disabled. Worse than "-O0" takes skill... So then, it produced something much worse than tcc (which is better than gcc -O0), an equivalent of which one man can produce in under two weeks. So even all those tokens and dollars did not equal one man's week of work. Except the one man might explain such arbitrary and shitty code as this: https://github.com/anthropics/claudes-c-compiler/blob/main/s... why x9? who knows?! Oh god the more i look at this code the happier I get. I can already feel the contracts coming to fix LLM slop like this when any company who takes this seriously needs it maintained and cannot... | |||||||||||||||||||||||||||||||||||||||||
| ▲ | ben_w 3 hours ago | parent | next [-] | ||||||||||||||||||||||||||||||||||||||||
I'm trying to recall a quote. Some war where all defeats were censored in the news, possibly Paris was losing to someone. It was something along the lines of "I can't help but notice how our great victories keep getting closer to home". Last year I tried using an LLM to make a joke language, I couldn't even compile the compiler the source code was so bad. Before Christmas, same joke language, a previous version of Claude gave me something that worked. I wouldn't call it "good", it was a joke language, but it did work. So it sucks at writing a compiler? Yay. The gloriously indefatigable human mind wins another battle against the mediocre AI, but I can't help but notice how the battles keep getting closer to home. | |||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||
| ▲ | sebzim4500 3 hours ago | parent | prev | next [-] | ||||||||||||||||||||||||||||||||||||||||
Can one man really make a C compiler in one week that can compile linux, sqlite, etc.? Maybe I'm underestimating the simplicity of the C language, but that doesn't sound very plausible to me. | |||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||
| ▲ | bwfan123 an hour ago | parent | prev | next [-] | ||||||||||||||||||||||||||||||||||||||||
> I can already feel the contracts coming to fix LLM slop First, the agents will attempt to fix issues on their own. Most easy problems will be fixed or worked-around in this manner. The hard problems will require a deeper causal model of how things work. For these, the agents will give up. But, the code-base is evolved to a point where no-one understands whats going on including the agents and its human handlers. Expect your phone to ring at that point, and prepare to ask for a ransom. | |||||||||||||||||||||||||||||||||||||||||
| ▲ | small_model 3 hours ago | parent | prev | next [-] | ||||||||||||||||||||||||||||||||||||||||
Claude is only a few years old so we should compare it to a 3 year old human's C compiler | |||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||
| ▲ | sjsjsbsh 3 hours ago | parent | prev [-] | ||||||||||||||||||||||||||||||||||||||||
> I can already feel the contracts coming to fix LLM slop like this when any company who takes this seriously needs it maintained and cannot Honest question, do you think it’d be easier to fix or rewrite from scratch? With domains I’m intimately familiar with, I’ve come very close to simply throwing the LLM code out after using it to establish some key test cases. | |||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||