Hardware-Aware Coding: CPU Architecture Concepts Every Developer Should Know
Hardware-Aware Coding: CPU Architecture Concepts Every Developer Should Know
blog.codingconfessions.com Hardware-Aware Coding: CPU Architecture Concepts Every Developer Should Know
Write faster code by understanding how it flows through your CPU

You're viewing a single thread.
All comments
6
comments
TL:DR: minimize randomness, group variables by access frequency, and unroll loops if your compiler doesn't do that already
12 0 Replytl;dr tl;dr: use a modern compiler.
10 0 ReplyDo any compilers NOT unroll loops in high optimization modes? I was under three impression this was usually unnecessary.
4 0 ReplyNo clue, I was just frustrated with how much useless extended metaphor was in the article and thought I'd save people some time
3 0 Reply
6
comments
Scroll to top