|
|
#12 (permalink) |
|
Banned
Join Date: May 2006
Posts: 2,053
Reputation: 14
|
After alot of reading on the subject, I'm gonna say Java is the better starting point.
- It is just as fast as C++ (some links say it's faster!!) - It is easier to learn than C++ (this isnt 100% fact, just what most sites said.) - It is more portable than C++ That's all i've got so far, but remember these arent my opinion's these are just what i've come up with after reading up on both languages tonight. So if anyone thinks any of this is incorrect, please say so
|
|
|
|
|
#13 (permalink) | ||
|
Luigi’s Pizza
|
Quote:
Not to say that Java isn't comparitively fast, though. It's perfectly suitable for most non-commercial game projects. Quote:
__________________
Gauntlets of Recursion (+5) - My game development journal.
|
||
|
|
|
|
#14 (permalink) | |
|
Link's Dirty Sock
Join Date: May 2006
Location: I dig graves, the next one might be yours.
Posts: 42
Reputation: 10
|
Quote:
__________________
Dream as if you'll live forever.
Live as if you'll die today. |
|
|
|
|
|
#15 (permalink) | |
|
Detective Kirby
Join Date: May 2006
Posts: 152
Reputation: 10
|
Quote:
|
|
|
|
|
|
#16 (permalink) |
|
Still learning the ropes
|
I don't know much about programming, but I have been told that C++ is the best programming language so far. When I start to learn a programming language for my game programming career, I will be choosing to learn C++. If I were you, I would start learning C# early.
__________________
May the Force be with you always!
|
|
|
|
|
#17 (permalink) | |
|
500+ Posts????
|
Quote:
Of course, when you are starting out, the difference in speed with most of the programs you wrote, and comparing them to a C++ program, there really is no difference in the two because of the realitively small size. I've yet to make a "huge" project yet. I do know, though, that Java is slower then C++ which is why its the preferred choice in MMOs or other games. I still personally recommend Java because of the learning curve is a little better in my opinion, and gets you right into OOP which would really help when it comes to learning C++ or any other language at that. I recommend this to the fellows at OnGameDev.com as well whenever this very same topic comes up. |
|
|
|
|
|
#18 (permalink) |
|
Cloud's Hair Spray
|
I've been programming Java for some years now, both for fun and professionally. And I agree with Shattered skies about it being a very nice language to code in. With respect to the whole C++/C# thing, C# is nothing more then C++ with Java syntax. (Or at least from the 4 months I had to put up with it, I came to that conclusion).
The fact that Java enforces OO will indeed help when switching to C++. Since C++ supports OO but does not enforce it. In C++ you can still write your entire program in one flat file. The idea though that Java wouldn't be usefull for MMO games is somewhat outdated though. I agree that for the server side of things C++ is the way to go because this is where speed is most important. But client side it mostly depends on the type of game you are programming. Most RPG games don't need those uber speeds anyways. And with current computers the differences aren't that big to begin with. I've been testing around with the new Java 6.0 beta release and I find that they've upped the speed once more so, while not there yet, they are getting closer. Most of the game lag however is (usually) in the graphics area of the game or the networking. With current internet connections getting faster and faster, network lag is less and less of an issue. The graphics lag is determined fora big part by your graphics card and the way the game builds up the environment. Commercial games tend to be much heavier in this respect then hobbyist games, so they need much more computing power / speed on the graphics area. However, this still doesn't exlude Java, since you can just offload the graphics bit to a C++ library from java. The biggest advantage of using Java over C++ is portability. If you plan on deplpying the client side of your game on PC, Mac and Linux, I would say go with Java and just offload the really tim crittical parts (such as graphics) to a C++ library. This cuts down porting effort big time, since only that small portion of the game needs to be altered. just my vision on things... Mark |
|
|
| Thread Tools | |
| Display Modes | |
|
|