 And on that note, an actual cheating quine for D would be the blank .d file: because compiling with dmd -main produces an executable that writes no output (i.e., output of length zero, identical to the source code).