Comment by cortesoft
15 hours ago
I think you may be misreading my comment, then, because I know how LLMs work. Which part of my comment do you think shows that I don’t?
15 hours ago
I think you may be misreading my comment, then, because I know how LLMs work. Which part of my comment do you think shows that I don’t?
maybe you have a wrong mental model on how compiler works then. I'm not a compiler developer, but usually I have a pretty good idea on what code gcc will generate for my C++: it is far from a black box.
Also compilers usually compose well: you can test snippets of code in isolation and the generated code it will have at least some relation to whatever asm would be generated when the snippet is embedded in a larger code base (even under inter-procedural optimizations or LTO, you can predict and often control how it will affect the generated code).