Re:Timsort, the Python sorting algorithm
by earenndil on Wednesday October 09, 2019 @03:33AM
(#21200920)
It is possible for a compiler to catch that particular mistake at compile-time. It's also possible for the user to provide a proof to a given compiler that a comparison function is well-formed. But I think that the parent was referring to a function that would check arbitrary comparison functions in java for correctness, without a proof, which is afaik provable impossible.
[ Parent
| on HN ]
There are no comments on this comment yet.