Reply
20 Nov 2010
Member
Playstation Staff

What programming language is PS3 programmed in?

16 Replies 37,150 Views Created 20-11-2010

I am a software engineering student and i am researching for my final year project, can anyone tell me what language ps3 is programmed in?

Reply
0 Kudos
Message 1 of 17 (37,150 Views)
Reply
0 Kudos
Level 3
 
Playstation Staff

Re: What programming language is PS3 programmed in?

ps3 languange? monsieur porquio
SONY 60GB AND 250GB PS3
Reply
0 Kudos
Message 2 of 17 (37,146 Views)
Reply
0 Kudos
Level 6
 
Playstation Staff

Re: What programming language is PS3 programmed in?

first you need a login here :smileytongue:

http://www.scedev.net/
Reply
0 Kudos
Message 3 of 17 (37,129 Views)
Reply
0 Kudos
Level 4
 
Playstation Staff

Re: What programming language is PS3 programmed in?

I bet it's a variant of C, but I can't find any information on it - sorry.

Reply
0 Kudos
Message 4 of 17 (37,129 Views)
Reply
0 Kudos
Level 5
 
Playstation Staff

Re: What programming language is PS3 programmed in?

Pretty much all games today are made with C/C++.

 

That said, the PS3 isn't programmed in any language. It's a piece of hardware, not software :smileytongue:

All signatures sucks, especially those with images in them.
Reply
0 Kudos
Message 5 of 17 (37,112 Views)
Reply
0 Kudos
Level 1
 
Playstation Staff

Re: What programming language is PS3 programmed in?

thanks
Reply
0 Kudos
Message 6 of 17 (37,107 Views)
Reply
0 Kudos
Level 3
 
Playstation Staff

Re: What programming language is PS3 programmed in?

 

 


Alestes wrote:

Pretty much all games today are made with C/C++.

 

That said, the PS3 isn't programmed in any language. It's a piece of hardware, not software :smileytongue:


 

 

 

Game engines are coded in C and Assembly

Games are coded in whatever propitery language the game engine exposes.

 

 

---------------------------------------------------------------------------
Just when I thought I was out...they pulled me back in.
Message 7 of 17 (37,102 Views)
Level 6
 
Playstation Staff

Re: What programming language is PS3 programmed in?

[ Edited ]

:smileyvery-happy::here you go OP

http://developer.nvidia.com/page/cg_main.html

http://en.wikipedia.org/wiki/Cg_programming_language

 

 

 

 

:smileytongue:

 

 

 

 // input vertex
struct VertIn {
float4 pos : POSITION;
float4 color : COLOR0;
};

// output vertex
struct VertOut {
float4 pos : POSITION;
float4 color : COLOR0;
};

// vertex shader main entry
VertOut main(VertIn IN, uniform float4x4 modelViewProj) {
VertOut OUT;
OUT.pos = mul(modelViewProj, IN.pos); // calculate output coords
OUT.color = IN.color; // copy input color to output
OUT.color.z = 1.0f; // blue component of color = 1.0f
return OUT;
}
Reply
0 Kudos
Message 8 of 17 (37,076 Views)
Reply
0 Kudos
Level 5
 
Playstation Staff

Re: What programming language is PS3 programmed in?

[ Edited ]

TitanGamer0 wrote:

 

 


Alestes wrote:

Pretty much all games today are made with C/C++.

 

That said, the PS3 isn't programmed in any language. It's a piece of hardware, not software :smileytongue:


 

 

 

Game engines are coded in C and Assembly

Games are coded in whatever propitery language the game engine exposes.

 

 


 

Game engines aren't really coded in Assembly. Game engines are built to be portable across the different platforms and Assembler is one of the least portable programming languages there is.

 

Games pretty much stopped being written in Assembly in the mid-90s, it was very popular before that, though. C is kinda dying too, even though it's still being used by some, but Id Tech 4 & 5 and Unreal engine 1, 2 & 3 are written in C++.

 

 

 


T-e-X wrote:

:smileyvery-happy::here you go OP

http://developer.nvidia.com/page/cg_main.html

http://en.wikipedia.org/wiki/Cg_programming_language 


 

Cg is used for coding the shaders, that's <1% of the game code. Not really relevant.

All signatures sucks, especially those with images in them.
Reply
0 Kudos
Message 9 of 17 (37,019 Views)
Reply
0 Kudos
Level 4
 
Playstation Staff

Re: What programming language is PS3 programmed in?

Sorry, but did the OP mean PS3 games, or the PS3's operating system / XMB itself?

Reply
0 Kudos
Message 10 of 17 (36,952 Views)
Reply
0 Kudos