Two weeks ago Aurynn Shaw wrote a piece called “Contempt Culture”:
And even before I finished reading it I had a thought:
Oh, this is not the article I expected to be reading.
So here’s the article I thought I was going to read, based on the tweet. A short version, anyway.
A few weeks ago I asked people a question on Twitter:
I got many interesting responses, but one of them asked if I had any recommendations for books on compilers.
Oh gosh. Books? Books about computer science? I’m actually not very well-read: while I’ve been programming since I was a kid, I “only” have an undergraduate formal education. That means the set of books I’ve read about CS is rather haphazard. But I suppose I do have a few things that come to mind.
A few months ago compiler researcher John Regehr held a low-level optimization contest for a silly problem: sort the nibbles in an arbitrary 64-bit number:
The problem is to sort the 4-bit pieces of a 64-bit word with (unsigned) smaller values towards the small end of the word. The nibble sort of 0xbadbeef is 0xfeedbba000000000. The function you implement will perform this sorting operation on a buffer of 1024 64-bit integers.