News for hackers. Stuff that matters.
Re:MIT Study Finds AI Use Reprograms the Brain, Leading to C... by glitchc on Wednesday September 03, 2025 @11:41AM (#45117085)
> LLMs, by their very nature are probabilistic. Probabilistic is NOT deterministic.

Although I'm on the side of getting my hands dirty, I'm not sure if the difference is that different. A modern compiler embeds a considerable degree of probabilistic behaviour.

Re:MIT Study Finds AI Use Reprograms the Brain, Leading to C... by ashton314 on Wednesday September 03, 2025 @12:09PM (#45117405)
Compilers use heuristics which may result in dramatically different results between compiler passes. Different timing effects during compilation may constrain certain optimization passes (e.g. "run algorithm x over the nodes and optimize for y seconds") but in the end the result should still not modify defined observable behavior, modulo runtime. I consider that to be dramatically different than the probabilistic behavior we get from an LLM.
Re:MIT Study Finds AI Use Reprograms the Brain, Leading to C... by davidrupp on Wednesday September 03, 2025 @11:46AM (#45117141)
> A modern compiler embeds a considerable degree of probabilistic behaviour.

Can you give some examples?

Re:MIT Study Finds AI Use Reprograms the Brain, Leading to C... by WD-42 on Wednesday September 03, 2025 @12:31PM (#45117714)
I keep hearing this but it’s a head scratcher. They might be thinking of branch prediction, but that’s a function of the cpu, not the compiler.
Re:MIT Study Finds AI Use Reprograms the Brain, Leading to C... by ModernMech on Wednesday September 03, 2025 @01:28PM (#45118388)
It’s not that they embed probabilistic behavior per se. But more like they are chaotic systems, in that a slight change of input can drastically change the output. But ideally, good compiler design is idempotent — given the same input, the output should always be the same. If that were not generally true, programming would be much harder than it is.
Re:MIT Study Finds AI Use Reprograms the Brain, Leading to C... by glitchc on Thursday September 04, 2025 @03:39PM (#45131393)
No, it can also vary on the input. The -ffast-math flag is a good example.
Re:MIT Study Finds AI Use Reprograms the Brain, Leading to C... by hn_acc1 on Wednesday September 03, 2025 @01:44PM (#45118549)
There are pragmas you can give to a compiler to tell it to "expect that this code path is (almost) never followed". I.e. if you have an assert on nullptr, for example. You want it to assume the assert rarely gets triggered, and highly optimize instruction scheduling / memory access for the "not nullptr" case, but still assert (even if it's really, REALLY slow, relatively speaking) to handle the nullptr case.
Re:MIT Study Finds AI Use Reprograms the Brain, Leading to C... by glitchc on Thursday September 04, 2025 @03:37PM (#45131370)
Any time the language specification is undefined, the compiler behaviour will be probabilistic at best. Here's an example for C:

https://wordsandbuttons.online/so_you_think_you_know_c.html