3 ms·
My take: Correctness is a static mathematical property of the source code. Safety is a mechanical property of a program executing on hardware. Correctness is
by brudgers 11y ago
My take:
Correctness is a static mathematical property of the source code.
Safety is a mechanical property of a program executing on hardware.
Correctness is absolute. Either it is a proof [or possible proof] or not.
Safety is relative. For a web application, it may mean handling javascript injection attempts. For a spacecraft it may mean handling random bit flips caused by cosmic radiation.
Caveat: I'm not dogmatic about any of this. I'm not trying to handle all corner cases. And fundamentally, I believe words mean what we mean when we use them; that meaning isn't fixed by external sources. I'm just answering the question to a degree somewhat commensurate with the effort put into asking it.