Imagine a perfect tool. You feed it any program â in any language â and it tells you, with certainty, whether that program ever prints the number 0. Or whether it ever loops forever. Or whether it contains a virus. A universal behavior analyzer that simply reads the source and answers.
Such a tool would be worth a fortune. Antivirus would be flawless, bugs would be caught before shipping, optimizing compilers would be perfect. So why doesn't it exist?
In 1953, a young logician named Henry Gordon Rice proved something far stronger than "it's hard." He proved it is impossible â not just for printing 0, but for every interesting question you could ask about what a program does. This is Rice's theorem, and it is one of the most sweeping limits ever discovered in computer science.
Comments
Loading comments...