I always wondered how we could programmatically ensure variables get aligned on different CPU cache lines to minimize cache thrashing.
Did a quick prototype to understand the implementation specifics. Everything I studied in the Computer Architecture and Advanced Unix Programming course makes sense now :)
Got the dopamine kick I was craving for :)