Static Analysis

Instead of giving up, compiler writers resort to static analysis:

For the Halting Problem, the answers would be:

The engineering challenge is to give useful answers as often as possible - and be efficient