Compilers are deterministic.
LLMs are not.
LLMs are not.
They seem that way, until you're tasked with getting a repeatable, idempotent build out of a non-trivial build system.
Not with todays GPU's, you would need to run it locally with special GPU settings or run it on your CPU to ensure it is deterministic.
This is entirely different from LLMs which are opaque even to their designers, and have unpredictable flaws and hallucinations, they are probability machines based on what data they have been exposed to, which means they are not a reliable way to generate programs.
Maybe one day we'll fix this, but the current generation is not very useful for programming because of this.