News for hackers. Stuff that matters.
Re:Abstract Interpretation in the Toy Optimizer by JonChesterfield on Sunday July 28, 2024 @04:32PM (#41095759)
Abstract interpretation can do constant folding and branch elision. It changes the program instance. Type checking is about invariants over a specific program, not changing the program itself.
Re:Abstract Interpretation in the Toy Optimizer by marcosdumay on Sunday July 28, 2024 @10:59PM (#41097634)
Most languages have type polymorphism that do change the program itself. But I agree, neither of those examples are instances of it.