3 ms·
I have my physical copy of this around somewhere
by smrtinsert 4y ago
I have my physical copy of this around somewhere
- 2OEH8eoCRo0 4y agoMine taunts me in plain view from my bookshelf. It's a cool book but I have little use for what it provides so I haven't been able to dig into it much.
- davegauer 4y agoHa ha, this falls firmly into the "I wish I needed to reference this more" category for me as well.
- kevin_thibedeau 4y agoI use mine on occasion. It's particularly useful when targeting architectures that don't have modern intrinsics for special operations. It's worth noting that some of the solutions aren't optimal for modern devices with conditional moves. In some cases you can get equal or better performance with straightforward code than some of the stuff in the book that goes out of its way to avoid branching control flow.
- AlotOfReading 4y agoIt has a pretty cool niche as a set of toy problems to verify cryptography tooling and I've found some of the recipes inside useful inspiration for constant time programming and other constrained domains. It's not as useful as it used to be for exactly the reasons you mentioned though.
- mtlmtlmtlmtl 4y agoSame. But sometimes I like skimming it just as a distraction. There's something so satisfying about seeing these tricks I'm far too stupid to come up with on my own. A couple of times, I've had some breakthroughs when stuck on an unrelated problem, while reading this book, because the "psychedelic hackery" sort of leads me down an alley I wouldn't otherwise have thought of, due to some superficial similarity.
- mabster 4y agoWhen I was doing low-level optimisation for games (lots of SIMD), I was using mine quite frequently. Now that I'm doing more application development it's sitting on my bookshelf looking neglected.