Geeks With Blogs
Timo Heinäpurola Android
Take your alignment seriously
Just recently I bumped into a very nasty bug that I had been unfortunate enough to conjure. Alignment of memory has never been my primary concern when working on the PC. As a typical C++ programmer you often don’t have to think about such things. On the PC this is usually “almost never” (when not optimizing, that is) and in a managed environment this truly should become “never”. On ARM, however, “never” becomes “almost never” again. Having your memory aligned means storing values of different sizes ......

Posted On Friday, November 4, 2011 7:20 PM

Copyright © raccoon_tim | Powered by: