I don't see anything "beautiful" here, it works and is performant but seems pretty average in term of readability
I think the go example is much more readable.
So the (for example) strcmp "while (s++ == d++);" made sense as efficient code, because the pointer access and the post increment effectively compiled down to almost a single instruction.
https://en.wikipedia.org/wiki/PDP-11_architecture#General_re...