I keep seeing lots of people saying "LLMs are like compilers/assemblers for prompts"
-
@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 oh, they could… if you operated them yourself. Snapshotting, and saving the PRNG seed.
-
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 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.
-
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 think that the lack of determinism is less important than the lack of a precise mapping between input and output. If we hypothesize a nondeterministic compiler that exposes a precise semantics, you can statistically predict the output based on the input based on the stochastic compilation process. LLMs don't give any such guarantee: you put imprecise natural language in and then the output is vibesy related to the input. Small changes to the input can beget very large changes to the output.
-
@cwebber If I hear "LLMs are like higher level languages" I will end up on the news, i think
-
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.
-
@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. -
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.
-
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.
-
@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.