This has been popular over the years, but hasn't had attention on HN in a while:<p><a href="https://hn.algolia.com/?q=bit+twiddling+hacks#!/story/forever/0/bit%20twiddling%20hacks" rel="nofollow">https://hn.algolia.com/?q=bit+twiddling+hacks#!/story/foreve...</a><p>We put 2005 on it, though the Internet Archive says there were earlier versions.