|
|
|
|
|
by boberoni
845 days ago
|
|
Just curious, how does program analysis on real-world programs exactly circumvent the problems of the halting problem or Rice’s theorem? In the real world, do we only ever have statically analyze a special subset of all programs? |
|
Another complementary strategy is to avoid Turing-complete constructs as much as possible, i.e. use DSLs with restricted semantics. This way, advanced semantic properties such as termination are provable.
[1] Program Analysis, An Appetizer. https://arxiv.org/pdf/2012.10086.pdf