On Monday, 13 March 2017 at 17:47:09 UTC, H. S. Teoh wrote:
Binary comparison is easy. Just read the files by fixed-sized chunks and compare them.
Follow up question... What is the best @safe way? Since File.byChunk() is @system. Just out of curiosity, I would rather use it and flag my code @trusted, although I guess there could be concurrency issues I have to take into account anyway... anything else?