| ▲ | tester756 6 hours ago | |||||||||||||||||||||||||
>A compiler almost never produces a wrong output back log of compiler's bugs can be pretty large | ||||||||||||||||||||||||||
| ▲ | armchairhacker 6 hours ago | parent | next [-] | |||||||||||||||||||||||||
In a production-grade compiler like LLVM they are rare enough that it compiles giant projects like Linux and Chromium without detectable issues. Maybe eventually Claude can, since it can write tests, but compilers / (deductive) algorithms have other advantages like efficiency and predictability. | ||||||||||||||||||||||||||
| ||||||||||||||||||||||||||
| ▲ | budman1 6 hours ago | parent | prev | next [-] | |||||||||||||||||||||||||
we could make a similar observation about determinism. given a set of inputs, the compiler will create the same output each time. not always true. but very close (pathological coding defects and explicit randomization excluded) very different than an LLM. | ||||||||||||||||||||||||||
| ▲ | doubled112 6 hours ago | parent | prev [-] | |||||||||||||||||||||||||
> almost never But not never. "Almost" is doing a lot of work there. | ||||||||||||||||||||||||||