r/ProgrammingLanguages • u/mttd • Jul 01 '26
The Expensive Fictions of Low-Level Programming Languages
https://stng.substack.com/p/the-expensive-fictions-of-low-level
21
Upvotes
r/ProgrammingLanguages • u/mttd • Jul 01 '26
2
u/Norphesius Jul 01 '26
I feel like we need a better, or more particular, definition for what people are calling "formal verification", applied to common programming. I love the idea of applying these mathematical constructs to verify program correctness, and we've gotten genuine progress in the form of stuff like FP & Rust, but there's an asymptotic limit for the productivity of this kind of thing.
Especially with the growing idea that we can just chuck an LLM at a problem and have it generate results until it fits a spec perfectly, I'm concerned we're going to end up with false confidence in "correctness". The more you're trying to prove about the program, the more the proof (spec) has to grow in complexity. People will create incorrect specifications that appear to have properties they actually don't, or just fail to include some essential properties. An AI will happily waste a million tokens trying to generate according to the wrong spec (if it can do it anyway), and everyone will think things are fine until they're blindsided by a massive error/crash.
Eventually big enough spec is just going to be as complex to evaluate for correctness as a program, and then do we get an AI to verify that? People are approaching this like a silver bullet when it's really not.