I keep seeing lots of people saying "LLMs are like compilers/assemblers for prompts"
-
I keep seeing lots of people saying "LLMs are like compilers/assemblers for prompts"
Noooooooooo
NooooooooooooooooooooooooooooLLMs are not compilers, and they're not assemblers. Determinism is a key aspect to assemblers and compilers.
And they *certainly* can't be part of a reproducible pipeline
@cwebber
PGO go brrrrr -
I keep seeing lots of people saying "LLMs are like compilers/assemblers for prompts"
Noooooooooo
NooooooooooooooooooooooooooooLLMs are not compilers, and they're not assemblers. Determinism is a key aspect to assemblers and compilers.
And they *certainly* can't be part of a reproducible pipeline
@cwebber This is more like the Pentium 4 idea of predictive branching, but with even larger pipeline stalls. Except the P4 could still do math.
-
I keep seeing lots of people saying "LLMs are like compilers/assemblers for prompts"
Noooooooooo
NooooooooooooooooooooooooooooLLMs are not compilers, and they're not assemblers. Determinism is a key aspect to assemblers and compilers.
And they *certainly* can't be part of a reproducible pipeline
For the people who compare an LLM to a compiler, the latter are not deterministic. They can not understand how sometimes* programs work, and sometimes they do not. The fault for this must be in the computer - hence LLMs equal compilers.
*depending on source code input and running conditions.
@cwebber -
@cwebber mostly agree, especially about them not being compilers, but some compilers aren't deterministic. You'll get a different result in memory layout or optimization sometimes. Especially for quantum compilers, where the compilation process itself is known to be NP hard, so heuristics are used.
-
@cstanhope @mcc @mntmn @cwebber I like it.
@drwho @cstanhope @mcc @mntmn @cwebber Honestly, I would prefer LLM generated code over grad student generated code.
-
R relay@relay.infosec.exchange shared this topic
-
@cwebber mostly agree, especially about them not being compilers, but some compilers aren't deterministic. You'll get a different result in memory layout or optimization sometimes. Especially for quantum compilers, where the compilation process itself is known to be NP hard, so heuristics are used.
@rdviii Ok but who's actually talking about *quantum compilers* when they are just saying "compilers" as a general term? ... other than people who work exclusively on QC's, who would be ... an incredibly tiny minority

-
I keep seeing lots of people saying "LLMs are like compilers/assemblers for prompts"
Noooooooooo
NooooooooooooooooooooooooooooLLMs are not compilers, and they're not assemblers. Determinism is a key aspect to assemblers and compilers.
And they *certainly* can't be part of a reproducible pipeline
@cwebber I am really Hung-up on the non-deterministic Character of LLMs lately. This essential quality makes them fit for solving specific kinds of problems und TOTALLY unfit for other kinds of problems.
I am working on my wisdom to get this right for each given problem. -
@cwebber of course a deterministic LLM could be made. But ~noone would use it. Being able to reroll the dice is an important part of the confidence game.
@joeyh I'm glad to see that someone else has considered this angle. It's always bugged me a little when I see the "they aren't deterministic" argument, but I've kept it to myself because nobody likes a pedant and of course @cwebber already understands as much.
I just worry that if this critique were to become more popular then the LLM makers would just implement the ability to specify a seed, then sit back and play the game where they say
we heard your criticism and have addressed it
Most people have no reason to have developed an advanced reasoning capacity about randomness, and I dread having to explain to them how something can be both deterministic and stochastic in nature
-
I keep seeing lots of people saying "LLMs are like compilers/assemblers for prompts"
Noooooooooo
NooooooooooooooooooooooooooooLLMs are not compilers, and they're not assemblers. Determinism is a key aspect to assemblers and compilers.
And they *certainly* can't be part of a reproducible pipeline
@cwebber precisely that!
A #shitposting - Program is anything but #reproduceable and I want #ReproduceableBuilds for #auditability, #security and #transparency.
- That's the whole reason I do @OS1337: To have something so fundamentally simple and compact that it is (at least in theory - at some point) financially feasible to crowdfund complete code audits of the entire system.
- I don't want people to trust me blindly, but to earn trust in the few things I code.
That's why I treat any "#AI" / #AIslop the same way @dolphin treat any leaks from Nintendo:
- That's the whole reason I do @OS1337: To have something so fundamentally simple and compact that it is (at least in theory - at some point) financially feasible to crowdfund complete code audits of the entire system.
-
I keep seeing lots of people saying "LLMs are like compilers/assemblers for prompts"
Noooooooooo
NooooooooooooooooooooooooooooLLMs are not compilers, and they're not assemblers. Determinism is a key aspect to assemblers and compilers.
And they *certainly* can't be part of a reproducible pipeline
@cwebber if, just like with asm, reading and reviewing generated code is not longer a necessary thing, then the productivity bottleneck shifts to how much time is spent "engineering" the prompt.
-
@joeyh I mean real talk that's why I don't play preset seeds in roguelikes, hooked on that RNG juice
-
I keep seeing lots of people saying "LLMs are like compilers/assemblers for prompts"
Noooooooooo
NooooooooooooooooooooooooooooLLMs are not compilers, and they're not assemblers. Determinism is a key aspect to assemblers and compilers.
And they *certainly* can't be part of a reproducible pipeline
@cwebber This might actually be subject to change though.
Njoy: https://arxiv.org/abs/2510.22954
Artificial Hivemind: The Open-Ended Homogeneity of Language Models (and Beyond)
tl;dr: LLMs are coming closer and closer to conveying reproducible outputs. One could be under the impression that if trained on the same data and towards a certain size asymtotic behaviour would be a resonable expectation, becaus that happens with large numbers in statistics.
What a ... surprise.
-
@joeyh I'm glad to see that someone else has considered this angle. It's always bugged me a little when I see the "they aren't deterministic" argument, but I've kept it to myself because nobody likes a pedant and of course @cwebber already understands as much.
I just worry that if this critique were to become more popular then the LLM makers would just implement the ability to specify a seed, then sit back and play the game where they say
we heard your criticism and have addressed it
Most people have no reason to have developed an advanced reasoning capacity about randomness, and I dread having to explain to them how something can be both deterministic and stochastic in nature
@ansuz @joeyh And of course there is the question, what is and isn't a compiler? Aren't all functions compilers?
Indeed, Blender's rendering system is in many ways a compiler for images.
But we don't use that way, because it's not helpful, even though Blender and ffmpeg are MORE of compilers than LLMs are. People are reaching for "LLMs might be compilers!" because of the thing they want it to *do* rather than how it *acts*, even though Blender and ffmpeg are by far, under those definitions, much more of compilers than LLMs are.
-
@ansuz @joeyh And of course there is the question, what is and isn't a compiler? Aren't all functions compilers?
Indeed, Blender's rendering system is in many ways a compiler for images.
But we don't use that way, because it's not helpful, even though Blender and ffmpeg are MORE of compilers than LLMs are. People are reaching for "LLMs might be compilers!" because of the thing they want it to *do* rather than how it *acts*, even though Blender and ffmpeg are by far, under those definitions, much more of compilers than LLMs are.
-
I keep seeing lots of people saying "LLMs are like compilers/assemblers for prompts"
Noooooooooo
NooooooooooooooooooooooooooooLLMs are not compilers, and they're not assemblers. Determinism is a key aspect to assemblers and compilers.
And they *certainly* can't be part of a reproducible pipeline
@cwebber The metaphor I reach for is processors. They're language coprocessors, and language is messy in a way most things coprocessors have done aren't. We're at "Hello World" in figuring out what to do with them.
-
I keep seeing lots of people saying "LLMs are like compilers/assemblers for prompts"
Noooooooooo
NooooooooooooooooooooooooooooLLMs are not compilers, and they're not assemblers. Determinism is a key aspect to assemblers and compilers.
And they *certainly* can't be part of a reproducible pipeline
@cwebber ok i'm going to be very annoying here but
don't some old versions of msvc choose certain optimisations randomly ?
-
I keep seeing lots of people saying "LLMs are like compilers/assemblers for prompts"
Noooooooooo
NooooooooooooooooooooooooooooLLMs are not compilers, and they're not assemblers. Determinism is a key aspect to assemblers and compilers.
And they *certainly* can't be part of a reproducible pipeline
@cwebber for me, the question isn't determinism but epistemology. the llm "compiles" by chaining predictions based on statistics which are derived from empirical data—i.e. its model of the "compilation" process is "usually when there's x in the input, there's y in the output." a conventional compiler is based on deductive reasoning about how x requires y. the former is totally parasitic on the latter (i.e. if the underlying reasoning didn't exist, empirical data on its operation couldn't exist)
-
I keep seeing lots of people saying "LLMs are like compilers/assemblers for prompts"
Noooooooooo
NooooooooooooooooooooooooooooLLMs are not compilers, and they're not assemblers. Determinism is a key aspect to assemblers and compilers.
And they *certainly* can't be part of a reproducible pipeline
@cwebber@social.coop to be fair I don't think determinism is a defining property of compilers
I should make a stochastic compiler (whatever that means) -
@alina@girldick.gay @cwebber@social.coop @joeyh@sunbeam.city try mewgenics try mewgenics try mewgenics
-
@joeyh I'm glad to see that someone else has considered this angle. It's always bugged me a little when I see the "they aren't deterministic" argument, but I've kept it to myself because nobody likes a pedant and of course @cwebber already understands as much.
I just worry that if this critique were to become more popular then the LLM makers would just implement the ability to specify a seed, then sit back and play the game where they say
we heard your criticism and have addressed it
Most people have no reason to have developed an advanced reasoning capacity about randomness, and I dread having to explain to them how something can be both deterministic and stochastic in nature
Ah but even if you can use a specific seed and try to use this to call it a "compiler", your compiler here is the very specific sets of weights within that model, and any change breaks its determinism. I think there being one and exactly one possible implementation to get the specified set of outputs can count as an actual compiler.