Author Archives: petecubano

More power to the C++ gurus

I’ve seen some discussions lately on the web about POD types in C++. These are classes without complicated constructors, assignment operators, etc and are extremely useful for defining things like vectors (float vectors, not the standard library list). Trouble is, … Continue reading

Posted in C++, Compilers | Tagged | 5 Comments

Why SPUs need aligned data

SPU programming is a daunting prospect at the best of times. Can’t get useful data without first issuing some DMAs. Can’t get too much data because the code and the data must never exceed 256KB. Can’t load/store/process anything other than … Continue reading

Posted in C++, Compilers | 8 Comments

Data Oriented Design – The Numbers

There’s recently been an interesting discussion on twitter about Data Oriented Design.  I’ve followed the arguments, seen the presentations, but i wanted to try it out for myself.  More importantly, as a programmer obsessed with optimisation, i wanted to see … Continue reading

Posted in C++, Data Oriented Design | 34 Comments