I Hate Compilers
xena
21 points
12 comments
June 18, 2026
Related Discussions
Found 5 related stories in 115.1ms across 10,813 title embeddings via pgvector HNSW
- Writing a C Compiler, in Zig (2025) tosh · 150 pts · April 23, 2026 · 56% similar
- Want to write a compiler? Just read these two papers (2008) downbad_ · 479 pts · April 15, 2026 · 54% similar
- Notes on writing Rust-based Wasm vinhnx · 218 pts · March 08, 2026 · 53% similar
- I hate: Programming Wayland applications dwdz · 165 pts · March 22, 2026 · 52% similar
- QBE – Compiler Back End smartmic · 88 pts · May 08, 2026 · 52% similar
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.