Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

Game Console Languages

Name: OP 2010-07-12 23:39

Is this true?

PS3 games are written in C++

Xbox 360 games are written in C#

Their OS's are written in C

Is that the case? and if it is, why are they the best for the job they do?

Name: Anonymous 2010-07-13 0:03

Wrong. Xbox 360 has official support for C/C++ and C#, but the games can really be written in any language. The Xbox 360 OS is written in C/C++. I have no idea about PlayStation 3 as I've never written a game on it.

Name: Anonymous 2010-07-13 0:14

i dunno, i know Xbox 360 has that XNA thing for C# but i geuss anything can be written in anything for anything.

Name: Anonymous 2010-07-13 0:28

C# is very rare for console games, but XNA is a newbie friendly API compared to others, so it's well-known. By no means should that be taken that it's a major platform, it's just a possible platform.

Most games are written in C++, due to it being high-level enough to build complex abstractions and low-level enough for C-like optimizations. It's not really the best language for the job, but it's one proven to work fine for their tasks. If you were an experienced programmer knowing many languages and understanding the issues you'll be facing, you'll probably be fine with whatever you picked, providing you can tweak the compiler, libraries, possible gc or anything else you might need to solve what performance/optimization problems lie ahead of you, if you choose a higher-level language.

As with most such questions, I would give the traditional /prog/ solution to your problems: Read SICP, learn enough languages, libraries and platforms, algorithms, and most importantly, reasoning skills. If you understand general-purpose programming, you can understand game programming. Trying to specialize too early can be your downfall.

Name: Anonymous 2010-07-13 0:51

Garbage-collected languages like C# are undesirable for games because they introduce unpredictability into what is essentially a real-time system. They have however been successfully used as scripting environments at least as far back as the original Playstation.

Jamie Fristrom has written about some of the problems they went through developing Schizoid (the first Xbox 360 Live Arcade game wholly developed with XNA Game Studio).

Name: Anonymous 2010-07-13 1:05

>>4
Trying to specialize too early can be your downfall.
I always think of this when I hear of "Game Development" courses to make myself feel better for doing Computer Science. Specifically, can you elaborate on why specialization is bad in this instance to sooth my cognitive dissonance?

Name: Anonymous 2010-07-13 1:21

There is nothing wrong with specialization, as long as one first acquires good general-purpose knowledge first.

Name: Anonymous 2010-07-13 3:00

Wii games are written in JAVA

Name: Anonymous 2010-07-13 3:07

>>8
lol, that was expected. I half imagened them to be written in VB.

Name: Anonymous 2010-07-13 4:06

Back in the days games were even writen in ASM because of the speed advantage at that time.

Name: Anonymous 2010-07-13 4:12

>>10
A good lot of gameboy/color/advance were written fully or partially in ASM.
I expect the parctice still continues today even for normal games where optimizations are still required. Truly high-performance applications have functions which are a bottlenecks/called very often, come with asm variants (see x264 for a typical example). One provides a slow, but portable function and then one does platform-specific optimizations where general ones cannot be done.

Name: Anonymous 2010-07-13 4:13

>>6
Games development courses I've seen are a joke.
They don't teach you a good amount about data structures, algorythms, optimisation and shit.
They cater to the lowest common denominator of "I PLAY HALO ALL DAY ThEREFORE I WILL BECOME EPIC WORLD FAMOUS GAMES PROGRAMMER" and several of the ones I've seen have even taught C# or Java as the main language.

I find it hard to believe any serious game developers would hire anyone with these degrees, and the only people I've ever seen working in games development have all had real CS degrees.

Name: Anonymous 2010-07-13 5:41

"I PLAY HALO ALL DAY ThEREFORE I WILL BECOME EPIC WORLD FAMOUS GAMES PROGRAMMER"
It's amazing how widespread that belief is, when, in general, they can't name any WORLD FAMOUS GAMES PROGRAMMERS themselves

Name: Anonymous 2010-07-13 5:57

>>10
Back in the day compilers also sucked.

Name: Anonymous 2010-07-13 8:45

>>13
JOHN CARMACK WILL WRECK YOUR SHIT

Name: Anonymous 2010-07-13 9:42

>>15
A. I don't give a shit about John Carmack
B. What you are saying doesn't refute my point

Name: Anonymous 2010-07-13 9:47

modern games are shit

PC gaming was always shit

>>>/v/

Name: Anonymous 2010-07-13 9:52

>>17
Please, just stop posting here.

Name: Anonymous 2010-07-13 9:54

>>18
Stop my anus.

Name: Anonymous 2010-07-13 9:55

>>13
I know this!!!
It's Mat Dickie!!!
Did I get it right?

Name: Anonymous 2010-07-13 9:56

>>19
It's too late, we already know you're from the imageboards. Please leave.

Name: Anonymous 2010-07-13 13:37

>>21
Fuck off, ``faggot''.
I'm not >>19 either.

Name: Anonymous 2010-07-13 13:39

>>22
You're the only one doing that. It won't become a meme.

Name: Anonymous 2010-07-13 13:44

>>23
BECOME MY ANUS

Name: Anonymous 2010-07-13 13:48

>>23
Fuck off, ``faggot''.

Name: Anonymous 2010-07-13 13:51

>>25
Spamming it won't help, either. You've accelerated above the likes of >>24 in the ``undesirable plague'' olympics.

Name: Anonymous 2010-07-13 14:26

On a related note: In what language and with which libs would have an amateur game been written for a common system of the era at the end of the 80s?

Name: Anonymous 2010-07-13 14:27

>>23
He's not the only one doing it. I know because he's doing it wrong.

Name: Anonymous 2010-07-13 14:30

>>27
Assembler, surely. Or {Atari,Commodore,Color,Sinclair,TI}\ Basic, etc.

Name: ​​​​​​​​​​ 2010-09-09 17:19


Don't change these.
Name: Email:
Entire Thread Thread List