3 ms·
I know that while (*s++ = *t++); is the type of thing seemingly designed to reach through history to make a modern programmer spit out their tea — but I a
by derefr 6y ago
I know that
while (*s++ = *t++);
is the type of thing seemingly designed to reach through history to make a modern programmer spit out their tea — but I also can’t help but feel that it’s a very direct “C machine” representation of the semantics of a processor string instruction, ala x86’s REPNZ MOVSB.