Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Aligned/Unaligned meory access

Name: Anonymous 2014-05-31 1:39

Why do people on stackoverflow lie that unaligned accesses are slow? It was true in 90ies, when 486 was young. But modern CPUs have caches, so unaligned access won't produce more than one loads or stores. And if you use ARM, you're a moron.

Name: Anonymous 2014-05-31 19:05

>>1
And if you use ARM, you're a moron.

...or MIPS, or SPARC, or PowerPC in little endian mode, or...

The only languages where you need to think about alignment are C/C++, and there only when you're casting pointers. If you can't remember that then you are indeed a moron.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List