2 ms·
How can I get a ticket to the magical land of milk and honey you come from, where C++ performs well on all architectures without extra work? As other posters h
by angersock 15y ago
How can I get a ticket to the magical land of milk and honey you come from, where C++ performs well on all architectures without extra work?
As other posters have mentioned, weird processors (notably freaks like the Cell) can require a lot of knowledge of the instruction set and chip quirks (see http://www.insomniacgames.com/category/research-development/ http://www.insomniacgames.com/category/research-development/ for a lot of good info on this), even requiring you to throw away your nice virtual object hierarchies and things to make the SPUs happy ( http://www.insomniacgames.com/wp-content/uploads/2011/06/GDC_2009_spugp2.pdf http://www.insomniacgames.com/wp-content/uploads/2011/06/GDC... ).
Also, just because a compiler targets an architecture doesn't mean that it can optimize code for it worth a damn.
EDIT: oh god it may even lie about its program counter ( http://www.insomniacgames.com/wp-content/uploads/2009/08/gdc2009_spu_wrangling.pdf http://www.insomniacgames.com/wp-content/uploads/2009/08/gdc... )