Threads: 14,999, Posts: 171,338, Members: 2,309
Online: 5

Go Back   PreGameLobby > Sony Lobby > PS3/PS2/PSOne Discussions

Reply
 
LinkBack Thread Tools Display Modes
Old 08-23-2007, 10:51 PM   #1 (permalink)
lovekeiiy
Hard Core Lobbyist
 
lovekeiiy's Avatar
 

Join Date: Jan 2007
Location: San Francisco Bay Area
Age: 35
Gamertag: botmann
PSN ID: botmann
Wii ID: 5287 0294 9240 2773
lovekeiiy is on a distinguished road

Programming for The Cell

I was talking to my buddy who works for one of the major video game developers, who is one of the programmers, about how much more difficult is to program for the PS3's cell versus the 360. Below is part of his response:

Quote:
The hardest part about the Cell layout (as opposed to the multi-core system used on the Xbox) is that the six PS3 SPUs have their own local memory (256k of it). Since they are a different processor with a different instruction set than the main processor (the PPU) that means you have to build separate versions of the code that you want to run on those processors and manually upload them. You also don't have direct access to main memory so you have to do something called a 'DMA' (direct memory access) to get data into the local memory. You also don't have a whole lot of memory so you always have to worry about that too. On top of that, the debugging facilities are very lean and often times it'll just crash without giving you much useful output. And on top of that, certain C++ constructs simply can't be used on the SPUs like you could normally use them due to the fact that you're dealing only with local memory (they implicitly try to access addresses that refer to objects that are in main memory).

It's somewhat complicated to get it going in the first place and then to handle all of the extra parts that you have to manage but the upside is that the SPUs are very simple processors that run fast. So generally you don't both spending much time optimizing your SPU code, you spend your time getting the next bit onto the SPUs in the first place.

... I skipped over a lot...The short answer is that there are some fundamental changes that have to be made and those can be quite difficult, but the processors themselves are simple and fast so it's quite rewarding once you've finally gotten it working.
Some of the didn't apply to the PS3, but about game engines and some stuff I felt boarder on the releasing confidential info.
__________________


lovekeiiy is offline   Reply With Quote
Share with: Submit to Digg Submit to Reddit Submit to Del.icio.us Submit to Clesto
Old 08-24-2007, 12:20 AM   #2 (permalink)
pickleL7
The OG Picklesickle
 
pickleL7's Avatar
 

Join Date: Nov 2006
Location: Kinston Wa
Age: 35
Gamertag: picklel7
pickleL7 will become famous soon enoughpickleL7 will become famous soon enough

Its A pain in the the ass to look at code from one processor to another,but if you look at each as if they were there own OS,rather then there own processor you should be able to mesure the algorithm's for them........sorry botmann......like I said im A glass artist
__________________




I bought a race horse and named him "my face" he's not very good, but imagine all the people in the stands yelling come on my face!"
pickleL7 is offline   Reply With Quote
Share with: Submit to Digg Submit to Reddit Submit to Del.icio.us Submit to Clesto
Old 08-25-2007, 02:50 AM   #3 (permalink)
lovekeiiy
Hard Core Lobbyist
 
lovekeiiy's Avatar
 

Join Date: Jan 2007
Location: San Francisco Bay Area
Age: 35
Gamertag: botmann
PSN ID: botmann
Wii ID: 5287 0294 9240 2773
lovekeiiy is on a distinguished road

doesn't bother me. Just thought some of you might find it interesting to hear what it's like to program for the PS3 vs. the 360. I don't know how to do any computer programming. My buddy on the hand, he's very good, and I wasn't surprise he was able to get a job. It was just a matter of him getting in foot in the industry.
__________________


lovekeiiy is offline   Reply With Quote
Share with: Submit to Digg Submit to Reddit Submit to Del.icio.us Submit to Clesto
Old 08-26-2007, 12:40 PM   #4 (permalink)
Dom
In the VIP Room
 
Dom's Avatar
 

Join Date: May 2007
Location: Durham,England.
Age: 18
Gamertag: BreakNeckTurtle
PSN ID: DrinkT
Seems alot more complicated than doing it for the xbox thats for sure, I wish your mate the best man be great to work in the gaming industry I myself wanted to be a script writer or the guy who makes up the original idea oin the storyline/characters involved and the setting the game takes place in, be great to play your own idea when its made. Gave up on the technical side of computing when I began to become a gym addict, taken over me it has!
__________________




Dom is offline   Reply With Quote
Share with: Submit to Digg Submit to Reddit Submit to Del.icio.us Submit to Clesto
Old 08-26-2007, 03:12 PM   #5 (permalink)
lovekeiiy
Hard Core Lobbyist
 
lovekeiiy's Avatar
 

Join Date: Jan 2007
Location: San Francisco Bay Area
Age: 35
Gamertag: botmann
PSN ID: botmann
Wii ID: 5287 0294 9240 2773
lovekeiiy is on a distinguished road

Kind of funny he usually just does physics or engine programming. When I was finishing up school, at that time, he wanted to do graphics programming. He does get to do some graphics work. He's even done some voice over work as the stadium annoucer in a sports game, LOL.

I wasn't surprised once he got in, he would stay in and be able to move up. He really likes his work and the company he's working for now.
__________________


lovekeiiy is offline   Reply With Quote
Share with: Submit to Digg Submit to Reddit Submit to Del.icio.us Submit to Clesto
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
LOL! Turn Off Your Cell Phone! Epyon MX General Discussions 37 05-02-2007 01:16 AM
Daily Giz Wiz 186: USB Cell The Feed Monkey this WEEK in TECH 0 11-05-2006 11:18 PM
Splinter Cell 5 a 360 Exclusive? SpOoNmAn Xbox 360/Xbox Discussions 2 09-27-2006 12:06 PM

Contribution
If you enjoy PreGameLobby, feel free to make a contribution!

$


Choose a contribution amount above then press the PayPal button below.




Powered by vBadvanced CMPS v3.0 RC1

All times are GMT -7. The time now is 11:05 PM.
All Content Copyright ? 2000 - 2007 PreGameLobby.com
A vBSkinworks Design