logoalt Hacker News

soraminazukitoday at 12:13 AM1 replyview on HN

Agreed with the need for transparency, but LLMs are anything but compilers. Compilers, by definition, produce semantically equivalent code from one language to another. If a tool's output lacks any defined semantics, it isn’t a compiler. Because how good is a "compiler" whose outputs are entirely undefined behavior?


Replies

warkdarriortoday at 2:24 AM

> If a tool's output lacks any defined semantics, it isn’t a compiler.

Are you claiming that the natural language of the LLM output (e.g., English, Chinese) does not have semantics?? Someone should tell all the people cited at https://en.wikipedia.org/wiki/Formal_semantics_(natural_lang...

show 1 reply