News for hackers. Stuff that matters.
Re:I'm going back to writing code by hand by bigfishrunning on Monday May 11, 2026 @09:48AM (#48094965)
The assembly is a deterministic transform of the input logic, and if it doesn't match then it's a bug in the compiler. If an LLM-based code generator doesn't match what you asked for, that's OK, just pull the slot-machine handle again. that's the difference.
Re:I'm going back to writing code by hand by james_marks on Monday May 11, 2026 @10:06AM (#48095202)
The "pull the slot-machine handle again" is the dangerous thing here.

I can feel it sometimes, as my brain shuts down and I gamble instead of thinking. It's a reversion to what I call "monkey mind" where you just keep pressing buttons to "make it work". I took a decade training my mind away from this, and too much AI is bringing it back.

Re:I'm going back to writing code by hand by bigfishrunning on Tuesday May 12, 2026 @07:59AM (#48107003)
The issue here is not just the gambling aspect, but verification that you got what you asked for. Code problems can be extremely subtle, and the cost of verification is deceptively high, ruining the advantages of using AI in the first place.

I truly believe that people claiming huge productivity gains from AI are either terribly slow programmers or are skipping their due diligence. Many "vibe coders" are incapable of checking the output of the code.

Re:I'm going back to writing code by hand by Xunjin on Monday May 11, 2026 @10:01AM (#48095150)
Thank you for this, people often miss the point, comparing apples with oranges.
Re:I'm going back to writing code by hand by TremendousJudge on Monday May 11, 2026 @10:09AM (#48095242)
If they were equivalent, people would be committing the prompts and not the code
Re:I'm going back to writing code by hand by AnimalMuppet on Monday May 11, 2026 @10:23AM (#48095403)
And then getting bugs when they use a new version of the AI, just like people occasionally got bugs when they upgraded to new versions of the compiler...
Re:I'm going back to writing code by hand by snowe2010 on Monday May 11, 2026 @01:49PM (#48098212)
they would get bugs on every invocation of the software, not on a new version of the AI. it's equivalent to your compiler have a RAND function in it where it chooses between a billion different options every time it compiles, it's absolutely not equivalent to a compiler having a bug.
Re:I'm going back to writing code by hand by hunterpayne on Monday May 11, 2026 @02:12PM (#48098536)
Compilers are deterministic, LLMs are not. Big difference...
Re:I'm going back to writing code by hand by estearum on Monday May 11, 2026 @10:00AM (#48095137)
For now, but obviously they're becoming (effectively) more and more similar to the former every day.
Re:I'm going back to writing code by hand by tuetuopay on Monday May 11, 2026 @01:47PM (#48098185)
They’re not, and will never be in their current form and architecture.

Compilers are mechanical and engineered to produce a correct output. A compiler emitting incorrect machine code is exceedingly rare, and considered a bug. They have heuristics and probabilities in them, but those are to pick between a set of known-good outputs.

An AI is a bag of weights outputting a probability of the most plausible token that follows [1]. It is inherently probabilistic in nature and its output is organic (by design, they’re designed to mimic human speech), as opposed to mechanical like a compiler.

A compiler follows hard rules. An AI does its best.

And to be fair, AIs are no better than human in this regard: humans are pretty bad at generating correct code without mechanical tools to keep them in line (compilers, linters, formatters). It’s not a wonder we use the same tools to keep LLM output in line as we do humans. (And, to be fair, LLMs are better than humans at oneshotting valid code).

[1]: to those that tell me this vision of an LLM is outdated: nope. The heavy lifting is done in the probability generation. Debates about understanding are not relevant here, and the net output of an LLM is a probability vector over raw tokens. This basic description can be contrasted to a compiler whose output is a glorified Jinja template.

Re:I'm going back to writing code by hand by estearum on Monday May 11, 2026 @02:30PM (#48098796)
Question: What do you think the word "effectively" means in the comment above?
Re:I'm going back to writing code by hand by wsve on Monday May 11, 2026 @03:19PM (#48099457)
Not OP, but it means nothing, because it's not "effectively" becoming a compiler.

Think about it from an information theory standpoint:

A compiler takes at least the exact amount of information it needs to produce a result, and produces exactly that result every time (unless it's bad at its job or has a bug).

An LLM always takes far less information than would actually be needed to fully describe the desired output, and extrapolates from that. It fetches contexts and such to give itself a glut of assumedly relevant information, but the prompt always contains less information than necessary to produce the code it generates. If it did fully contain enough information, then you've just written a far more verbose version of the program in human language.

Re:I'm going back to writing code by hand by estearum on Monday May 11, 2026 @04:37PM (#48100349)
You're rebutting a comment that says something like: "LLMs are literally becoming compilers"

No one said that

Re:I'm going back to writing code by hand by tuetuopay on Monday May 11, 2026 @03:24PM (#48099507)
I interpret it as "in practice", "now". Non-native English speaker here, so I may have missed your meaning.

If you meant they’re now better at mimicking compilers, sure, but they’re only mimicks.

Re:I'm going back to writing code by hand by estearum on Monday May 11, 2026 @04:40PM (#48100377)
Yes, I am saying there's no functional difference (for practical purposes) between a deterministic transformation like a compiler and a perfect probabilistic transformation like an LLM.

We do not have "perfect" probabilistic transformation, and we probably never will (in part because it's hard to know what exactly that even means), but the gap between the two is shrinking every day.

Ergo:

> they're becoming (effectively) more and more similar every day.