News for hackers. Stuff that matters.
Re:Claude's C Compiler vs. GCC by Alupis on Monday February 09, 2026 @01:35AM (#46942213)
I'm reminded, once again, of the recent "vibe coded" OCaml fiasco[1].

The PR author had zero understanding why their entirely LLM-generated contribution was viewed so suspiciously.

The article validates a significant point: it is one thing to have passing tests and be able to produce output that resembles correctness - however it's something entirely different for that output to be good and maintainable.

[1] https://github.com/ocaml/ocaml/pull/14369

Re:Claude's C Compiler vs. GCC by Incipient on Monday February 09, 2026 @03:10AM (#46942838)
>Here's my question: why did the files that you submitted name Mark Shinwell as the author?

>Beats me. AI decided to do so and I didn't question it.

Haha that's comedy gold, and honestly a good interview screening situation - you'd instantly pass on the candidate!

Re:Claude's C Compiler vs. GCC by thewhitetulip on Monday February 09, 2026 @04:06AM (#46943212)
I once had a PR. I told the dev that "LLM is ok but you own the code"

He told me "I spent n days to architect the solution"

He shows me claude generated system design .. and then i say ok, I went to review the code. 1hr later i asked why did you repeat the code all over at the end. Dude replies "junk the entire PR it's AI generated"

Re:Claude's C Compiler vs. GCC by pseudohadamard on Tuesday February 10, 2026 @01:56AM (#46956226)
Has anyone who's familiar with compiler source code tried to compare it to other compilers? Given that LLMs have been trained on data sets that include the source code for numerous C compilers, is this just (say) pcc extruded in Rust form?
Re:Claude's C Compiler vs. GCC by Culonavirus on Monday February 09, 2026 @02:15AM (#46942457)
Damn... "AI has a very deep understanding of how this code works. Please challenge me on this." this person is something else. Just... wow.
Re:Claude's C Compiler vs. GCC by co_king_3 on Monday February 09, 2026 @06:46AM (#46944212)
AI is for retards.
Re:Claude's C Compiler vs. GCC by monegator on Monday February 09, 2026 @07:32AM (#46944541)
*grifters
Re:Claude's C Compiler vs. GCC by co_king_3 on Monday February 09, 2026 @08:36AM (#46945049)
Successful grifters are not this stupid.

Terminal AI users are genuinely *slow* individuals.

These people are functionally illiterate; they are not able to extract information by reading a bit of text in the same ways that you or I are.

These people are very, very *gullible*.

Re:Claude's C Compiler vs. GCC by ratrace on Monday February 09, 2026 @08:51AM (#46945186)
This comment does not deserve to be greyed out.
Re:Claude's C Compiler vs. GCC by nyantaro1 on Monday February 09, 2026 @01:37PM (#46949031)
nice username
Re:Claude's C Compiler vs. GCC by tossandthrow on Monday February 09, 2026 @02:17AM (#46942468)
The Ai legal analysis seemed to be the nail in the coffin.

Adding Ai generated comments are IMHO some of the most rude uses of Ai.

Re:Claude's C Compiler vs. GCC by usrusr on Monday February 09, 2026 @04:48AM (#46943473)
Not sure what exactly you're referring to, but legal is a very interesting field to observe, right? I've been wondering about that since quite early in my LLM awareness:

A slightly sarcastic (or perhaps not so slightly..) mental model of legal conflict resolution is that much of it boils down to throwing lots of content at the opposing side, claiming that it shows that the represented side is right and creating a task for the opposite side to find a flaw in that material. I believe that this game of quantity fits through the whole range from "I'll have my lawyer repeat my argument in a letter featuring their letter head" all the way to paper-tsunamis like the Google-Oracle trial.

Now give both sides access to LLM... I wonder if the legal profession will eventually settle on some format of in-person offline resolution with strict limits to recess and/or limits to word count for both documents and notes, because otherwise conflicts fail to get settled in anyone's lifetime (or won by whoever does not run out of tokens first - come thinking of it, the technogarchs would love this, so I guess this is exactly what will happen barring a revolution)

Re:Claude's C Compiler vs. GCC by tossandthrow on Monday February 09, 2026 @05:27AM (#46943697)
Ah, sorry. I am not referring to using LLMs for legal work.

I am referring to the act of merely pasting the output of a model as a comment.

Have the decency to understand what the LLM is writing and write your own message.

Re:Claude's C Compiler vs. GCC by agile-gift0262 on Monday February 09, 2026 @07:06AM (#46944340)
That comment is wild

> Here's the AI-written copyright analysis...

I'm not going to spend more time reading than what you have spent writing!

Re:Claude's C Compiler vs. GCC by 63stack on Monday February 09, 2026 @07:41AM (#46944600)
What do you mean "not exactly sure what you are referring to"?

The guy just posted a huge ai slop pr, do you think that's the correct place for "very interesting field observations about legal"?

What else could it refer to than you can't back up copyright ownership questions with "ai said so"??

Re:Claude's C Compiler vs. GCC by ncruces on Monday February 09, 2026 @04:50AM (#46943484)
Some maintainers who drank the Kool-Aid, just use AI to answer to issues and review PRs.

Pretty soon we'll have AIs talking to each other.

Re:Claude's C Compiler vs. GCC by simgt on Monday February 09, 2026 @03:32AM (#46942992)
I'm humbled by the maintainer's answer [0]. Must be great to work with people like him who have infinite patience and composure.

[0] https://github.com/ocaml/ocaml/pull/14369#issuecomment-35565...

Re:Claude's C Compiler vs. GCC by amoss on Monday February 09, 2026 @03:47AM (#46943097)
gasche has been active on various forums over the years, and yes can confirm that he has infinite patience.
Re:Claude's C Compiler vs. GCC by zozbot234 on Monday February 09, 2026 @06:21AM (#46944044)
Yes, that comment by gasche is a very good general explanation for why vibe coded slop still doesn't cut it for contributing to any non-trivial FLOSS project. When you're building towards a large feature (DWARF support in this case) it's critical for contributions to be small and self-contained so that maintainers and reviewers don't get overwhelmed. As things stand, this means that human effort is an absolute requirement.

When contributions are small and tightly human-controlled it's also less likely that potential legal concerns will arise, since it means that any genuinely creative decisions about the code are a lot easier to trace.

(In this case, the AI seems to have ripped off a lot of the work from OxCaml with inconsistent attribution. OxCaml is actually license compatible (and friendly) with Ocaml but obviously any merge of that work should happen on its own terms, not as a side effect of ripoff slop code.)

Re:Claude's C Compiler vs. GCC by ordu on Monday February 09, 2026 @07:11AM (#46944389)
> Must be great to work with people like him who have infinite patience and composure.

It is not just patience, he is ready to spent a shitload of time explaining basics to strangers. Such an answer would take, I believe would take a very least half an hour to compose, not counting the time you need to read all the relevant discussion to get the context. But yeah, it would be great to have more people like him around.

Re:Claude's C Compiler vs. GCC by onion2k on Monday February 09, 2026 @02:21AM (#46942491)
however it's something entirely different for that output to be good and maintainable

People aren't prompting LLMs to write good, maintainable code though. They're assuming that because we've made a collective assumption that good, maintainable code is the goal then it must also be the goal of an LLM too. That isn't true. LLMs don't care about our goals. They are solving problems in a probabilistic way based on the content of their training data, context, and prompting. Presumably if you take all the code in the world and throw it in mixer what comes out is not our Platonic ideal of the best possible code, but actually something more like a Lovecraftian horror that happens to get the right output. This is quite positive because it shows that with better prompting+context+training we might actually be able to guide an LLM to know what good and bad looks like (based on the fact that we know). The future is looking great.

However, we also need to be aware that 'good, maintainable code' is often not what we think is the ideal output of a developer. In businesses everywhere the goal is 'whatever works right now, and to hell with maintainability'. When a business is 3 months from failing spending time to write good code that you can continue to work on in 10 years feels like wasted effort. So really, for most code that's written, it doesn't actually need to be good or maintainable. It just needs to work. And if you look at the code that a lot of businesses are running, it doesn't. LLMs are a step forward in just getting stuff to work in the first place.

If we can move to 'bug free' using AI, at the unit level, then AI is useful. Above individual units of code, like logic, architecture, security, etc things still have to come from the developer because AI can't have the context of a complete application yet. When that's ready then we can tackle 'tech debt free' because almost all tech debt lives at that higher level. I don't think we'll get there for a long time.

Re:Claude's C Compiler vs. GCC by codebolt on Monday February 09, 2026 @02:35AM (#46942594)
> People aren't prompting LLMs to write good, maintainable code though.

Then they're not using the tools correctly. LLMs are capable of producing good clean code, but they need to be carefully instructed as to how.

I recently used Gemini to build my first Android app, and I have zero experience with Kotlin or most of the libraries (but I have done many years of enterprise Java in my career). When I started I first had a long discussion with the AI about how we should set up dependency injection, Material3 UI components, model-view architecture, Firebase, logging, etc and made a big Markdown file with a detailed architecture description. Then I let the agent mode implement the plan over several steps and with a lot of tweaking along the way. I've been quite happy with the result, the app works like a charm and the code is neatly structured and easy to jump into whenever I need to make changes. Finishing a project like this in a couple of dozen hours (especially being a complete newbie to the stack) simply would not have been possible 2-3 years ago.

Re:Claude's C Compiler vs. GCC by onion2k on Monday February 09, 2026 @02:38AM (#46942611)
When I started I first had a long discussion with the AI... and made a big Markdown file with a detailed architecture description.

Yep, that's how you get better output from AI. A lot of devs haven't learned that yet. They still see it as 'better autocomplete'.

Re:Claude's C Compiler vs. GCC by tossandthrow on Monday February 09, 2026 @02:48AM (#46942671)
While this technique works for new projects, it takes no more than a couple of pivots for it to completely fail.

A good AI development framework needs to support a tail of deprecated choices in the codebase.

Skills are considerable better for this than design docs.

Re:Claude's C Compiler vs. GCC by troupo on Monday February 09, 2026 @04:44AM (#46943456)
"It's just another Markdown file, bro".

LLMs do not learn. So every new session for them will be rebuilding the world from scratch. Bloated Markdown files quickly exhaust context windows, and agents routinely ignore large parts of them.

And then you unleash them on one code base that's more than a couple of days old, and they happily duplicate code, ignore existing code paths, ignore existing conventions etc.

Re:Claude's C Compiler vs. GCC by codebolt on Monday February 09, 2026 @04:56AM (#46943514)
That's why I'm very careful about how the context is constructed. I make sure all the relevant files are loaded with the prompt, including the project file so it can see the directory structure. Also keep a brief summary of the app functionality and architecture in the AGENTS.md file. For larger tasks, always request a plan and look through it before asking it to start writing code.
Re:Claude's C Compiler vs. GCC by troupo on Monday February 09, 2026 @05:43AM (#46943792)
Re:Claude's C Compiler vs. GCC by sirwitti on Monday February 09, 2026 @02:47AM (#46942658)
Not trying to be rude, but in a technology you're not familiar with you might not be able to know what good code is, and even less so if it's maintainable.

Finding and fixing that subtle, hard to reproduce bug that could kill your business after 3 years.

Re:Claude's C Compiler vs. GCC by codebolt on Monday February 09, 2026 @02:54AM (#46942710)
That's a fair point, my code is likely to have some warts that an experienced Android/Kotlin dev would wince at. All I know is that the app has a structure that makes an overall sense to me, with my 15+ years of experience as a professional developer and working with many large codebases.
Re:Claude's C Compiler vs. GCC by fragmede on Monday February 09, 2026 @04:56AM (#46943513)
The framing is key here. Is three years a long time? Both answers are right. Just getting a business off the ground is an achievement in the first place. Lasting three years? These days, I have clothes that don't even last that long. And then three years isn't very long at all. Bridges last decades. Countries are counted by centuries. Humanity is a millennia old. If AI can make me a company that's solvent for three years? Well, you decide.
Re:Claude's C Compiler vs. GCC by fauigerzigerk on Monday February 09, 2026 @04:57AM (#46943520)
I think we are going to have to find out what maintenance even looks like when LLMs are involved. "Maintainable" might no longer mean quite the same thing as it used to.

But it's not going to be as easy as "just regenerate everything". There are dependencies external to a particular codebase such as long lived data and external APIs.

I also suspect that the stability of the codebase will still matter, maybe even more so than before. But the way in which we define maintainability will certainly change.

Re:Claude's C Compiler vs. GCC by ben_w on Monday February 09, 2026 @06:12AM (#46943991)
> Then they're not using the tools correctly. LLMs are capable of producing good clean code, but they need to be carefully instructed as to how.

I'd argue that when the code is part of a press release or corporate blog post (is there even a difference?) by the company that the LLM in question comes from, e.g. Claude's C compiler, then one cannot reasonably assert they were "not using the tools correctly": even if there's some better way to use them, if even the LLM's own team don't know how to do that, the assumption should be that it is unreasonable to expect anyone else to how to do that either.

I find it interesting and useful to know that the boundary of the possible is a ~100kloc project, and that even then this scale of output comes with plenty of flaws.

Know what the AI can't do, rather than what it can. Even beyond LLMs, people don't generally (there's exceptions) get paid for manually performing tasks that have already been fully automated, people get paid for what automation can't do.

Moving target, of course. This time last year, my attempt to get an AI to write a compiler for a joke language didn't even result in the source code for the compiler itself compiling; now it not only compiles, it runs. But my new language is a joke language, no sane person would ever use it for a serious project.

Re:Claude's C Compiler vs. GCC by generallyjosh on Monday February 09, 2026 @02:54PM (#46950208)
That mirrors my experience so far. The AI is fantastic for prototyping, in languages/frameworks you might be totally unfamiliar with. You can make all sorts of cool little toy projects in a few hours, with just some minimal promoting

The danger is, it doesn't quite scale up. The more complex the project, the more likely the AI is to get confused and start writing spaghetti code. It may even work for a while, but eventually the spaghetti piles up to the point that not even more spaghetti will fix it

I'll get that's going to get better over the next few years, with better tooling and better ways to get the AI to figure out/remember relevant parts of the code base, but that's just my guess

Re:Claude's C Compiler vs. GCC by charcircuit on Monday February 09, 2026 @12:35PM (#46948174)
>They are solving problems in a probabilistic way based on the content of their training data, context, and prompting.

>Presumably if you take all the code in the world and throw it in mixer what comes out is not our Platonic ideal of the best possible code, but actually something more like a Lovecraftian horror that happens to get the right output.

These statements are inaccurate since 2022 when LLMs started to have post training done.

Re:Claude's C Compiler vs. GCC by kleiba on Monday February 09, 2026 @02:20AM (#46942488)
I just read that whole thread and I think the author made the mistake of submitting a 13k loc PR, but other than that - while he gets downvoted to hell on every comment - he's actually acting professionally and politely.

I wouldn't call this a fiasco, it reads to me more that being able to create huge amounts of code - whether the end result works well or not - breaks the traditional model of open source. Small contributions can be verified and the merrit-vs-maintenance-effort can at least be assessed somewhat more realistically.

I have no bones in the "vibe coding sucks" vs "vibe coding rocks" discussion and I reading that thread as an outsider. I cannot help but find the PR author's attitude absolutely okay while the compiler folks are very defensive. I do agree with them that submitting a huge PR request without prior discussion cannot be the way forward. But that's almost orthogonal to the question of whether AI-generated code is or is not of value.

If I were the author, I would probably take my 13k loc proof-of-concept implementation and chop it down into bite-size steps that are easy to digest, and try to get them to get integrated into the compiler successively, with being totally upfront about what the final goal is. You'd need to be ready to accept criticism and requests for change, but it should not be too hard to have your AI of choice incorporate these into your code base.

I think the main mistake of the author was not to use vibe coding, it was to dream up his own personal ideal of a huge feature, and then go ahead and single-handedly implement the whole thing without involving anyone from the actual compiler project. You cannot blame the maintainers for not being crazy about accepting such a huge blob.

Re:Claude's C Compiler vs. GCC by vasco on Monday February 09, 2026 @02:55AM (#46942720)
He is not polite, he is of the utmost rudeness. As a reply to being pointed to the fact that he copied so much code that the generated code included someone else's name in the License, his reply was https://github.com/ocaml/ocaml/pull/14369/changes/ce372a60bd...

I struggle to think how someone thinks this is polite. Is politeness to you just not using curse words?

Re:Claude's C Compiler vs. GCC by kleiba on Monday February 09, 2026 @03:43AM (#46943077)
Admittedly, his handling of this aspect was perhaps less than ideal, but I cannot see any impoliteness here whatsoever. As a matter of fact, I struggle to think how you could think otherwise.

But I am biased. After having lived a number of years in a country where I would say the average understanding of politeness is vastly different from where I've grown up, I've learned that there is just a difference of opinion of what is polite and what isn't. I have probably been affected by that too.

Re:Claude's C Compiler vs. GCC by troupo on Monday February 09, 2026 @04:46AM (#46943466)
> but I cannot see any impoliteness here whatsoever.

Ah yes. "It's AI I don't care" and "AI has very deep reasoning about code, prove me wrong" are the height of politeness.

Re:Claude's C Compiler vs. GCC by kleiba on Monday February 09, 2026 @07:53AM (#46944721)
Well, I wouldn't necessarily call it "going out of your way to be accommodating", but impolite is just not the word I'd choose to characterize it. I can see why others might but it's just my personal feeling that I don't think that this is the correct adjective here.

That said, I don't feel like this topic is important enough to go on about it, I probably spend enough keystrokes on it already.

Re:Claude's C Compiler vs. GCC by troupo on Monday February 09, 2026 @08:52AM (#46945200)
That's how politicians and passive-aggressive people hide their rudeness/impoliteness: under a veneer of polite-sounding phrases.

But I guess we could've used a few other synonyms: https://www.merriam-webster.com/thesaurus/impolite inconsiderate, thoughtless, impertinent (2nd meaning) :)

Re:Claude's C Compiler vs. GCC by vasco on Monday February 09, 2026 @05:48AM (#46943829)
You sound like you'd characterize a thief as polite if he asked you please when taking your wallet.
Re:Claude's C Compiler vs. GCC by kleiba on Monday February 09, 2026 @07:47AM (#46944663)
Ah, I see what you mean - you're making a distinction between someone's speech and someone's acts. Fair enough. In that sense, you would argue that the action of dropping a 13k loc PR is impolite, and I can see that.

It's just that in my reading, I did not find his demeanor in the comment thread to be impolite. He was trying to sell his contribution and I think that whatever he wrote was using respectful language.

Re:Claude's C Compiler vs. GCC by gordonhart on Monday February 09, 2026 @08:34AM (#46945031)
He responds to a thoughtful and detailed 600-word comment from a maintainer with a dismissive "Here's the AI-written copyright analysis..." + thousands of words of slop.

The effort asymmetry is what's rude. The maintainers take their project very seriously (as they should) and are generous enough with their time to invite contribution from outsiders. Showing up and dropping 13k lines of code, posting comments copy+pasted from a chat window, and insisting that your contribution is trustworthy not because you thought it through but because you fed it through a few LLMs shows that you don't respect the maintainers' time. In other words: you are being rude. They would have to put in more upfront effort to review your contribution than you put in to create it! Then they have to maintain it in perpetuity.

Re:Claude's C Compiler vs. GCC by well_ackshually on Monday February 09, 2026 @09:49AM (#46945814)
Dropping an unreviewable 13000 lines PR is disrespectful to the reviewers and their time.

Doing it without any prior discussion with the maintainers is disrespectful to the maintainers and the architecture work they put in.

Trying to "sell" your contribution is disrespectful and implies you know better than the maintainers.

Cockily saying "the AI knows better than you" is disrespectful.

Respectful and polite language does not prevent being disrespectful.

Re:Claude's C Compiler vs. GCC by Aeglaecia on Monday February 09, 2026 @06:36AM (#46944142)
interpreting his words on a literal basis , the PR submitter isn't being directly impolite ...

if you will , place yourself in the shoes of the repository maintainer. a random person (with a personal agenda) has popped up trying to sell you a solution (that he doesn't understand) to a problem (that you don't see as problematic). after you spending literal hours patiently explaining why the proposition is not acceptable , this random person still continues attempting to sell his solution.

do you see any impoliteness in the reframed scenario ?

Re:Claude's C Compiler vs. GCC by kleiba on Monday February 09, 2026 @07:51AM (#46944705)
I think there's nothing wrong with trying to sell your solution, and I'm skeptical about the "literal hours" that you claim.

The way I interpret this thread is that the PR poster had a certain itch and came up with a vibe-coded solution that helped him. Now he's trying to make that available for others too. The maintainers don't want it because it's too large a PR to review properly and because they don't want to have to maintain it afterwards.

I can totally see both positions.

I was just referring to the fact that - in my opinion - unlike others here, his writing did not appear impolite to me. But you know, that's just me. I thought that he was trying to sell his code, and it's not unusual to get rejected at first, so I can't blame him for trying to defend his contribution. All I'm saying is that I thought he did so in a respectful manner, but of course you could argue that the whole endeavor was already an act of impoliteness, in a way?!

Re:Claude's C Compiler vs. GCC by Aeglaecia on Monday February 09, 2026 @08:27AM (#46944971)
that is indeed what is being argued , is it possible to screw someone over politely ?
Re:Claude's C Compiler vs. GCC by bwfan123 on Monday February 09, 2026 @12:29PM (#46948083)
> his writing did not appear impolite to me

I learnt something from this thread.

That, respectfulness and politeness are more from intentions/actions than from speech alone. Politeness of language without any respect for the actual function of that speech is pointless. Indeed, that this what the LLMs are trained for. Form over function. And many humans get fooled by it and are also clueless like the person dropping the steaming turd of a PR.

Re:Claude's C Compiler vs. GCC by monegator on Monday February 09, 2026 @07:35AM (#46944556)
simple: search that user. He's a grifter with many failed venues that recently started flooding big project with useless PRs

everybody should collectively tell him to fuck off

Re:Claude's C Compiler vs. GCC by kleiba on Monday February 09, 2026 @07:54AM (#46944733)
That may or may not be the case - I really was just going off this one thread, and how I personally read it. I completely appreciate that others read it differently.
Re:Claude's C Compiler vs. GCC by 63stack on Monday February 09, 2026 @10:20AM (#46946186)
"Why did you submit these files that are attributed to a completely unrelated person?"

"Beats me"

Do you consider this "professional and polite"? Raise your standards.

Re:Claude's C Compiler vs. GCC by kleiba on Monday February 09, 2026 @12:50PM (#46948367)
Minimally, I don't find this an unusual tone in the slightest for cs threads. But then again, I'm old.

I'm also quite surprised that apparently you cannot utter what is clearly just a personal opinion -- not a claim of objective truth -- without getting downvoted. But then again, the semantics of votes are not well-defined.

At the same time, I'm quite grateful for the constructive comments further down below under my original post.

Re:Claude's C Compiler vs. GCC by 63stack on Monday February 09, 2026 @07:38AM (#46944572)
I get infuriated just from reading that, I wish I had as much patience as the maintainers on that project.