I Hate Compilers

xena 21 points 12 comments June 18, 2026
xeiaso.net · View on Hacker News

Discussion Highlights (3 comments)

charcircuit

As long as the program is equivalent there isn't an actual problem here. Requiring the output to always be the same is an arbitrary restriction. If you want to have users trust that someone else hasn't modified it, then sign it with your identity.

dyauspitr

LLMs should be trained on and directly output binary.

mathisfun123

> lol you'd think, but no, it's not. In theory it is (and for small scale compilers it definitely is), but in practice compilers are strange and complicated beasts containing multitudes that no mere mortal can fully comprehend on their own. Umm there are like 60,000 lit tests checked into LLVM that verify that the output is absolutely a deterministic function of the input of at least that compiler. > Even though the source code had the same bytes, the output of the compiler was wildly different. This is the goofiest I've seen written unironically in quite a long - the C preprocessor is not part of the compiler. The pre in preprocessor should probably give it away. Just a tip: you should probably actually understand something before you decide you hate it.

Semantic search powered by Rivestack pgvector
10,813 stories · 101,683 chunks indexed