| Compilers can generate wrong output in many different ways. And they're all analogous to the same ways that a sophisticated LLM can generate wrong outputs. The compiler relies on: * Careful use of the ENV vars and CLI options * The host system, or the compilation of the target executable (for cross-compiling) * It relies on the source code specifically How is this really different from careful prompt engineering, and an extensive proposal/review/refine process? They are both narrowing the scopes and establishing the guardrails for what the solution and final artifact will be. > proposal/review/refine process This is essentially what a sophisticated compiler, or query optimizer (Postgres) does anyway. We're just doing it manually via prompts. |
And we are talking compilers, not query optimizers, so I don't really care what they do.