Reply
Want to join in?

Sign in to continue

I have a PSN account

Welcome back!

I'm new!

it only takes a minute or two

  • 113

    New messages in the last hour

  • Get a response within minutes

  • 92%

    92% percent of messages responded to

20 Nov 2010
By HowsThatMonkey

HowsThatMonkey

  • Offline
45%
02 Rank
Progress
Playstation Staff

Problem Solved

View Original Post

What programming language is PS3 programmed in?

17 Replies 48,701 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
LABELS:
View our house rules for posts
Post Reply Update Reply Cancel
02
/16

zeeshan

  • Offline
92%
02 Rank
Progress
Playstation Staff

Problem Solved

View Original Post
zeeshan
Accepted Solution
ps3 languange? monsieur porquio
Reply
0 Kudos

Re: What programming language is PS3 programmed in?

SONY 60GB AND 250GB PS3
Beta Tester
05
/16

Nakatsu_Hime

  • Beta Tester
  • Offline
90%
05 Rank
Progress
Playstation Staff

Problem Solved

View Original Post
Nakatsu_Hime
Accepted Solution
I bet it's a variant of C, but I can't find any information on it - sorry.

Reply
0 Kudos

Re: What programming language is PS3 programmed in?

02
/16

HowsThatMonkey

  • Offline
45%
02 Rank
Progress
Playstation Staff

Problem Solved

View Original Post
HowsThatMonkey
Accepted Solution
thanks
Reply
0 Kudos

Re: What programming language is PS3 programmed in?

Award Winner
05
/16

T-e-X

  • Award Winner
  • Offline
95%
05 Rank
Progress
Playstation Staff

Problem Solved

View Original Post
T-e-X
Accepted Solution
first you need a login here :P

http://www.scedev.net/
Reply
0 Kudos

Re: What programming language is PS3 programmed in?

05
/16

Alestes

  • Offline
90%
05 Rank
Progress
Playstation Staff

Problem Solved

View Original Post
Alestes
Accepted Solution

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:

Reply
0 Kudos

Re: What programming language is PS3 programmed in?

All signatures sucks, especially those with images in them.
02
/16

TitanGamer0

  • Offline
80%
02 Rank
Progress
Playstation Staff

Problem Solved

View Original Post
TitanGamer0
Accepted Solution

 

 


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.

 

 

Re: What programming language is PS3 programmed in?

---------------------------------------------------------------------------
Just when I thought I was out...they pulled me back in.
Award Winner
05
/16

T-e-X

  • Award Winner
  • Offline
95%
05 Rank
Progress
Playstation Staff

Problem Solved

View Original Post
T-e-X
Accepted Solution

:D:here you go OP

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

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

 

 

 

 

:P

 

 

 

 // 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

Re: What programming language is PS3 programmed in?

[ Edited ]
05
/16

Alestes

  • Offline
90%
05 Rank
Progress
Playstation Staff

Problem Solved

View Original Post
Alestes
Accepted Solution

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:

:D: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.

Reply
0 Kudos

Re: What programming language is PS3 programmed in?

[ Edited ]
All signatures sucks, especially those with images in them.
Beta Tester
05
/16

Nakatsu_Hime

  • Beta Tester
  • Offline
90%
05 Rank
Progress
Playstation Staff

Problem Solved

View Original Post
Nakatsu_Hime
Accepted Solution
Sorry, but did the OP mean PS3 games, or the PS3's operating system / XMB itself?

Reply
0 Kudos

Re: What programming language is PS3 programmed in?

07
/16

zinep

  • Offline
85%
07 Rank
Progress
Playstation Staff

Problem Solved

View Original Post
zinep
Accepted Solution

The PS3 base OS? XMB? Engines? Games?

 

If you're looking for some sort of common denominator, I guess you could look at the Cell reference materials at IBM, and you'll see that they have a patched version of gcc which has some C-language extensions (for vector operations), and high-level library enhancements (to start spu threads). One could, perhaps incorrectly, assume that Sony uses the same language extensions (i.e. same compiler). I'm only speculating, and it would definitely only apply to the base OS in the PS3 and its libraries.

 

I would guess that the development kit for the PS3 is plain C headers (or perhaps has a few C++ wrappers). ..with some critical parts in assembler.

 

Needless to say, you can't use any of the above for any school projects, since it's just random speculations. :)

 

Reply
0 Kudos

Re: What programming language is PS3 programmed in?

03
/16

S1M0N_AZAR1

  • Offline
90%
03 Rank
Progress
Playstation Staff

Problem Solved

View Original Post
S1M0N_AZAR1
Accepted Solution
*insteps casual non techie gamer*
.....
.....
.....
*out steps casual non techie gamer*
Reply
0 Kudos

Re: What programming language is PS3 programmed in?

02
/16

AJTRIX2

  • Offline
92%
02 Rank
Progress
Playstation Staff

Problem Solved

View Original Post
AJTRIX2
Accepted Solution

10 print"AJTRIX" IS COOL"

20 Goto 10

Run

Reply
0 Kudos

Re: What programming language is PS3 programmed in?





You got a pretty mouth!!!
Beta Tester
05
/16

Nakatsu_Hime

  • Beta Tester
  • Offline
90%
05 Rank
Progress
Playstation Staff

Problem Solved

View Original Post
Nakatsu_Hime
Accepted Solution

Nooo. If it's a C64, you're going to need to stop other kiddies from fiddling with it, so it could be:

10 Poke 808,225
20 Print "AJTRIX IS COOL ";
30 Poke 53280,RND(0)*255: Poke 53281, RND(0)*255
40 Goto 20

There, that should annoy the shopkeepers much more.

Reply
0 Kudos

Re: What programming language is PS3 programmed in?

[ Edited ]
02
/16

ChipB

  • Offline
22%
02 Rank
Progress
Playstation Staff

Problem Solved

View Original Post
ChipB
Accepted Solution

All modern languages used for game development are high level scripting languages. They are not actual base programming languages. They are based in C/C++. Scripting language is used to execute things in the C language without actually using C/C++ to do it. Assembly is the most basic language which is what communicates directly between software and hardware, and C/C++ is, for lack of a better term, a script language for Assembly language. So when you see Python, Java, PHP.....any of it. It's all C/C++. Assembly is a low-level language, C/C++ is a mid-level language, and Modern scripting languages are called high-level languages. :-)

Reply
0 Kudos

Re: What programming language is PS3 programmed in?

02
/16

abhibatra26

  • Offline
21%
02 Rank
Progress
Playstation Staff

Problem Solved

View Original Post
abhibatra26
Accepted Solution

What programming language is PS3 programmed in?

Reply
0 Kudos

Re: What programming language is PS3 programmed in?

Beta Tester
05
/16

Nakatsu_Hime

  • Beta Tester
  • Offline
90%
05 Rank
Progress
Playstation Staff

Problem Solved

View Original Post
Nakatsu_Hime
Accepted Solution

"XMB is a custom Sony application that runs on top of the host operating system. In the case of the Playstation 3, there is a theory that the host operating system is a Darwin branch [of Linux] called CellOS. This would make the Playstation 3's XMB an application/widget running on a FreeBSD-based OS."

 

There. I hope that helps.

 

Source

Reply
0 Kudos

Re: What programming language is PS3 programmed in?

[ Edited ]
02
/16

nullTrueOrFalse

  • Offline
38%
02 Rank
Progress
Playstation Staff

Problem Solved

View Original Post
nullTrueOrFalse
Accepted Solution

c/c++ - using PPU and SPU compilers.

But it depends on the task.

Reply
0 Kudos

Re: What programming language is PS3 programmed in?

Advanced
You must be signed in to add attachments
View our house rules for posts
Post Reply Update Reply Cancel