Computer Forums

Member Login

Remember Me? Sign Up! | Forgot Password
 
Slogan
 
Closed Thread
Old 09-27-2006, 09:40 AM   #1 (permalink)
 
Newb Techie

Join Date: Sep 2006

Posts: 14

LordV

Default C++ VS Java for gaming

I know little about these two except i have dont a minimal amount of coding on C++. Java can be embedded into a website right??

The game Runescape, if im right, was coded in java and turned into an MMORPG by placing it on a website. Can C++ do this too? Or would it have to be a downloaded client?


Overall, my real question is:

Which is better for coding a video game and which is more popular in the video game industry?
LordV is offline  
Old 09-27-2006, 09:52 AM   #2 (permalink)
wit
 
Newb Techie

Join Date: Sep 2006

Posts: 3

wit

Default

java is more popular, and maybe it is more popular because it is better.
wit is offline  
Old 09-27-2006, 10:26 AM   #3 (permalink)
 
Super Techie

Join Date: Sep 2005

Posts: 341

hillbillybob

Default

I wouldn't say that. C++ is by far the most popular language for game programming. C++ tends to run faster. With J2, especially version 5, the speed of execution wasn't quite as much of an issue, but C++ will run native on desktop/laptop systems. Java is much easier to learn, but that does not make it any better than C++. Neither is C++ better than Java. You aren't going to use a blow torch where a hammer is needed. They are simply two different tools
__________________
The greatest measure of a nation is not it\'s army or economy, but by how many people are trying to get in, and how many people are staying!!
Guns, Guts, and Alcohol made America free.
Born American, Die American
Ubuntu - it\'s all about the bun\'s baby!!!
hillbillybob is offline  
Old 09-27-2006, 07:03 PM   #4 (permalink)
 
Newb Techie

Join Date: Sep 2006

Posts: 14

LordV

Default

My big question is... What do real programmers use (like say.. for a game like WoW)
LordV is offline  
Old 09-27-2006, 07:13 PM   #5 (permalink)
 
Monster Techie

Join Date: Dec 2004

Posts: 1,145

Snake-Eyes

Default

Personally, i think you see Java games a lot because of the fact that, some say, it's an easy language (compared to C++). I also think C++ would be better for games.
__________________
Snake-Eyes is offline  
Old 09-27-2006, 08:14 PM   #6 (permalink)
 
Newb Techie

Join Date: Sep 2006

Posts: 14

LordV

Default

I mean comercial games though... Or is that what you mean
LordV is offline  
Old 09-27-2006, 09:26 PM   #7 (permalink)
 
Contributor

Join Date: Jul 2006

Posts: 84

Ken11235

Default

Commercial games are almost all programmed in C++ these days. Java is too bulky for huge games.
Ken11235 is offline  
Old 09-28-2006, 10:30 AM   #8 (permalink)
 
Newb Techie

Join Date: Jun 2006

Posts: 10

3dillusion

Send a message via Yahoo to 3dillusion
Default

is it just simple cosole based c++ ? I think not.May be they use Windows C++ ?
what exactly 1 shud know to begin game progrmming in C++ ?
3dillusion is offline  
Old 09-28-2006, 02:59 PM   #9 (permalink)
 
Super Techie

Join Date: Sep 2005

Posts: 341

hillbillybob

Default

There is no Console C++ or Window's C++, there is only C/C++ according to the ANSI standard. That said, many people have made compilers for C/C++. Microsoft, Borland, others (MingW), Gnu Compiler Collection.

C++ is used alot for games because it does performe faster. That's what most gamers are looking for, is speed. Java isn't always used because it does not compile nativly like C/C++. Between the two speed is not becoming much of an issue, at lease not like it was. Still C++ is used more for games than Java

C/C++ is not Java, Java is not C/C++

Runescape was programmed in Java, and yes it was embedded in a web page. that's one of the advantages of Java. You aren't going to be able to place a C++ game on a web page as easily. Java is easier to learn, but C/C++ is more powerful. It's a tool, and like any tool, if it's used correctly, it will do great things.

If you want to program, get a book. Thomson Course Technologies has a whole series.
__________________
The greatest measure of a nation is not it\'s army or economy, but by how many people are trying to get in, and how many people are staying!!
Guns, Guts, and Alcohol made America free.
Born American, Die American
Ubuntu - it\'s all about the bun\'s baby!!!
hillbillybob is offline  
Old 09-28-2006, 04:01 PM   #10 (permalink)
 
Software Developer

Join Date: Mar 2006

Location: Columbus, OH

Posts: 569

jaeusm is on a distinguished road

Default

Quote:
Java ... but C/C++ is more powerful
That just depends on what you consider "more powerful". I think garbage collection, threading, and networking are quite a powerful trio of things C++ lacks. C++, on the other hand, will (usually) execute faster than Java code.
jaeusm is offline  
 
Closed Thread

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

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