Is PS3 Programming Really More Difficult?


341w ago - This question has come up in GamePro and also on the new Sony (US) PS3 blog. According to Sony programming the PS3 can be more complex than the 360 but this is due to the Cell having more capabilities. This (sort of) matches what is said in the article and does seem to be a more general consensus.

But is it really true? You do have to put in more effort to get the power out of the Cell processor, there's no doubt about that. I don't think it's necessarily "difficult", contrary to what you might read, very few people who have programmed Cell have ever actually said that, they do say it's more involved though.

Being a chip geek I've looked over the 360's processor and my own thinking is that getting something up and running on it will be easier than getting it running on Cell. The 3 XCPU cores are the same and are programmed in much the same way as a traditional PC processor.

Cell is of course different, the PPE is similar to existing processors (actually, it's based on the same core as the XCPU). The SPEs however are different and are not programmed in quite the same way, programmatically the big difference is the local store, you have to explicitly move data in and out of it. On a normal CPU this is invisible as the cache handles this for you.

However you don't want to just get something to run on either processor. They are both pretty picky and you need to work in order to get the best out of either of them.

Both processors appear to be very different but ultimately they are designed to solve the same problem and both do so in similar manner. While the XCPU does not include local stores it does share a 128 Byte line width and data is always best transferred to and from memory in units of this size - this is exactly the same as on Cell.

Another similarity is the need to move data close to the processor to get better performance. In the SPE's this is done explicitly, in the XCPU it can also be done explicitly by issuing cache commands.

Processing data in stages across different SPEs (stream processing) is one technique you can use on Cell. You can also use the similar technique on the XCPU by locking cache lines and accessing them from a different core. Doing this on a traditional PC processor is difficult if not impossible, it can be done implicitly but because they don't have cache locking you can't guarantee the data is actually in the cache.

The XCPU also has issues the Cell doesn't have. On an SPE you know what data you have because you have to issue the commands to get it. On XCPU this might not be the case, the cache is shared and it can be flushed by a different thread, the data you expect to be there might have vanished. With 6 (or more) threads I imagine that could get pretty hairy.

Getting something up and running on the XBox360 is easier (especially if it's a PC port) but getting the best out of the XCPU is also a pretty involved process. This means that both consoles have a learning curve and as a result games will get better for some time to come. PS3 games will take longer to mature but being more powerful are like to be more advanced.

Whether these games are any good is of course, a completely different matter...



Stay tuned for more PS3 Hacks and PS3 CFW news, follow us on Twitter and be sure to drop by the PS3 Hacks and PS3 Custom Firmware Forums for the latest PlayStation 3 scene updates and homebrew releases!

Comments 2 Comments - Go to Forum Thread »

• Please Register at PS3News.com or Login to make comments on Site News articles. Thanks!

Nemis's Avatar
#2 - Nemis - 340w ago
look at R&C demo, ps3 is difficult only for softwarehouse that don't want to work !!

Zoddi's Avatar
#1 - Zoddi - 340w ago
if you think of the ps2 everyone first said it was hard programming it but look at now what they get out of that console. god of war, gran turismo... all these games are very nice examples what you can make of it and the same way it will work with the ps3. that's my opinion.













Affiliates - Contact Us - PS3 Downloads - Privacy Statement - Site Rules - Top - © 2014 PlayStation 3 News