News for hackers. Stuff that matters.
Re:An Introduction to Temporal Logic (With Applications to C... by zozbot234 on Wednesday January 24, 2024 @12:47PM (#39120274)
TLA+ is not intended for end-to-end verification of actually running code, that's still the domain of type systems and interactive proof checkers. You're "specifying" a toy model of how your system will behave and then verifying that.
Re:An Introduction to Temporal Logic (With Applications to C... by eigenvalue on Wednesday January 24, 2024 @01:17PM (#39120710)
Right. But even the automatic translation/conversion from the "real" Python code (or whatever it is) to the toy model of that code would make TLA+ a lot more accessible and useful to millions of developers instead of the couple hundred at most (just a guess, maybe it's more?) that currently make serious use of it.

I understand that TLA+ is not really intended for that and it's currently used more for super important, mission critical applications like flight computer code, but I would love to see that level of care and attention brought to more typical software, which even in relatively "boring" applications can involve a lot of concurrency nowadays.

Re:An Introduction to Temporal Logic (With Applications to C... by zozbot234 on Wednesday January 24, 2024 @01:22PM (#39120781)
A toy model of existing Python code is... a type system, which Python has. TLA+ is appropriate for cases where you don't even have that.