News for hackers. Stuff that matters.
Re:Modeling Message Queues in TLA+ by aeneasmackenzie on Friday November 02, 2018 @10:10AM (#18363118)
TLA+ is only for specification. In one of the papers on it Lamport mentions just putting a copy of the specification in a comment above the implementation. If you get a bug you just need to find where your implementation differs from your specification which he finds is usually pretty easy.

If your code doesn't have a specification (of course usually less precise), fixing bugs is incoherent. How can you say come behavior is a bug?

Re:Modeling Message Queues in TLA+ by shusson on Friday November 02, 2018 @12:14PM (#18364179)
Yeah but why not generate code from your specification? Or create a model of the specification that you can interrogate in code?
Re:Modeling Message Queues in TLA+ by aeneasmackenzie on Monday November 05, 2018 @09:05AM (#18382359)
You would need to include irrelevant details. TLA+ is an actual declarative language, so it's not executable, but it can be model-checked.