Posted by nonadhocproblem 15 hours ago
Guaranteeing memory safety isn't that useful; guaranteeing correctness is. And no language gives you that.
This is like arguing against seatbelts just because guaranteeing survival in a car crash is impossible.
still, good for the author trying to challenge the status quo and best of luck on the long run.
The whole of computing is a shitter of layers and layers of going with what the last guy did. I may or may not use misa77, but i applaud the effort and attempt at innovation.
Having said that this repo has fairly extensive tests for that. See https://github.com/welcome-to-the-sunny-side/misa77/blob/mai.... I couldn’t find them covering all settings, but that may be just me not looking hard enough, and even if they don’t, adding that is easy.
Although relatedly, it's definitely possible for claims on performance (instead of correctness) to only hold on certain classes of data.
I dunno, do matching against a hash table and only compare a short fingerprint. It'll be a meaningful speed up, usually be right. Fail in exceptional cases, and lose the performance advantage if you fix it.