Skip to main content
GameDev.net gamedev.net
🔒 Locked

Java taking over?

Started by YPhysicist Aug 27, 2002 at 11:36 PM 85 replies 2.6k views
Original Post
YPhysicist
YPhysicist
I wanted to be a game programmer once, so I learned many a book about C++, but I took a short break and now I''m back in the game. I just entered college, but all of my comp science courses are telling me that everything''s changing to Java. The standardized test I took last year was on C++, but it said that starting next year it''s all gonna be on Java. Even my friends in higher level comp science courses are saying Java is becoming the standard. What''s going on? Is this affecting game programming as well? (Is C++ game programming going to be replaced with Java? Are there any signs of this now?)
John Licatogamecreationlab.com
RapidStunna
RapidStunna
They''re wrong. Although java is becomming more powerful, it''s not going to replace everything anytime soon. .Net will take over before just java does.

---
My Site-My Tetris Clone w/Source
Come join us on IRC in #directxdev @ irc.afternet.org
Syrillix
Syrillix
personally, i dont like java at all.. im using it alot at uni and i think its sits a fair way back from c++. but then again thats because ive used c++ for longer and im more accustomed to doing things that way. other opinions may vary, there are some things i like about java, single inheritance and interfaces, for example.. but all in all, i prefer c++ for just about any sort of programming task

Get busy livin'' or get busy dyin''... - Shawshank Redemption
Get busy livin' or get busy dyin'... - Shawshank RedemptionIf a man is talking in the forest, and no woman is around to hear him, is he still wrong? - UnknownFulcrum
jwalker
jwalker
i dont like java and the sun microsystem propaganda machine.
C++ is a regulated standard by ansi. Java seems to change with every version , like 1.5 comming out soon.

java even contradicts itself like saying templates are complex so they wont be in java, but then 1.5 will have general classes which are templates..

personally, i prefer C / C++ since its an established standard on every platform.

Its my duty, to please that booty ! - John Shaft
thona
thona
jwalker - just as a note, Java will not have templates, they willk ahve generics. While you might not get the difference, there is one - basically you can do a lot more with templates, and ist is this a lot more that makes them complex.


Regards

Thomas Tomiczek
THONA Consulting Ltd.
(Microsoft MVP C#/.NET)
RegardsThomas TomiczekTHONA Consulting Ltd.(Microsoft MVP C#/.NET)
Yau
Yau
I like JAVA!!! but not for makin'' games. But I think its a great programming language to develope tools to make games. The Java swing set provides cool tools to quickly wip up little simple applications.

But Java will never replace C or C++ in game programming!!!

:)
civguy
civguy
Java is a nice language, and very fast to write with a good IDE like IntelliJ IDEA.

I especially like the way every Java coder has about the same codings standards. It's really easy to use any API found on the net since they're written like you expect, and it makes your code uniform. I wish Java language standard even *enforced* ppl to write with certain naming convention, but the current situation is good enough .

Eg. classes are written MyClass, functions myFunction() etc. C++ has no such standards, unfortunately. I see MyFunction(), my_function(), myFunction and all the other possible combination for every different lil' thing (classes, functions, globals, variables) in C/C++ code, which makes it a bitch to read sometimes.

[edited by - civguy on August 28, 2002 5:46:20 AM]
Scarfy
Scarfy
quote:
.Net will take over before just java does.


Big businesses don''t trust anything Microsoft. When there is a lot of sensitive information at hand banks, etc will explore all alternatives before they choose to go with a MS product.

I''d steer clear of .NET for the while until MS can sort out their security issues (which given their track record won''t be anytime soon).

Project: Starfighter
http://www.parallelrealities.co.uk
Parallel RealitiesProject: Starfighter
davepermen
davepermen
there is yet a lot of stuff in development with .NET.. since some years btw.. and simply because its microsoft it doesn''t mean its not good..

java is a great language, and i like it very much.. i just have no use for it:D i code c++.. its in fact sort of a crappy language, but somehow you can do everything in it, and thats fun:D

"take a look around" - limp bizkit
www.google.com
If that's not the help you're after then you're going to have to explain the problem better than what you have. - joanusdmentia
My Page davepermen.net | My Music on Bandcamp and on Soundcloud
Chman_a11w
Chman_a11w
Java is a great programming langage, and it''s not slow! Java 1.4 is very fast compared to the previous version... You like or you don''t like it, but Java is great. C++ is also great. but i prefer Java
Chman_a11w
Chman_a11w
i forgot to say that since january 2002, there are more Java programmers than C++ programmers in the world... But Java won''t replace anything, it simply brings new way to think a very powerfull network programming part...
CaptainJester
CaptainJester
The only thing that Java is replacing C++ on is to teach people object oriented concepts.

ps. Java and C++ are both great.

---
Make it work.
Make it fast.

"I’m happy to share what I can, because I’m in it for the love of programming. The Ferraris are just gravy, honest!" --John Carmack: Forward to Graphics Programming Black Book
"None of us learn in a vacuum; we all stand on the shoulders of giants such as Wirth and Knuth and thousands of others. Lend your shoulders to building the future!" - Michael Abrash[JavaGaming.org][The Java Tutorial][Slick][LWJGL][
Arild Fines
Arild Fines
I doubt Java or any other single environment is going to "take over" anything. There will always be alternatives.
<opinion>However, I do think its time for C++ to be retired. The language is quite simply too weak, bloated and legacy-ridden to justify it''s existence for much longer - at least without a major reworking. And since the language has effectively been sentenced to Death By Committee, this reworking is not very likely to happen.</opinion>


"PL/I and Ada started out with all the bloat, were very daunting languages, and got bad reputations (deservedly). C++ has shown that if you slowly bloat up a language over a period of years, people don''t seem to mind as much."

James Hague
--AnkhSVN - A Visual Studio .NET Addin for the Subversion version control system.[Project site] [IRC channel] [Blog]
KalvinB
KalvinB
"The language is quite simply too weak, bloated and legacy-ridden to justify it''s existence for much longer"

Um...you can''t get tighter code than C++. I don''t know where you get this idea it''s bloated from. No one is forcing you to use anything you don''t want to and nothing you don''t use will be added to your exe.

Weak? What exactly has it failed to excell at?

Java will never take over. It''s too slow. Until it''s a fully compilable language it will never take over C++ and that would defeat the point of Java.

Ben


IcarusIndie.com [ The Rabbit Hole | The Labyrinth | DevZone | Gang Wars | The Wall | Hosting | Dot Com | GameShot ]
IMG25
IMG25
Reason number one why Java should never be used comercially, it CAN be decompiled. Only people who make Open Source projects would like that, I dought people who work years on something would want others too see thier source.
thona
thona
Well, I assume you little physicist here has never heard that there are decompilers for C++, right? Actually decompilers generating C++ code again.

And that there are obfuscators for Java and .NET code that make the output extremely unreadable :-)

And that there are intellectual property rights :-)

And the story continues.


Regards

Thomas Tomiczek
THONA Consulting Ltd.
(Microsoft MVP C#/.NET)
RegardsThomas TomiczekTHONA Consulting Ltd.(Microsoft MVP C#/.NET)
lucinpub
lucinpub
KalvinB:
I belive arild was talking about feature bloated when he said what he did. And it most certainly is.
Lucas Henekswww.ionforge.com
SabreMan
SabreMan
quote:
Original post by KalvinB
Um...you can''t get tighter code than C++. I don''t know where you get this idea it''s bloated from.

I don''t think Arild''s talking about the size of the resultant executable, but the size of the *language*, and the number of special cases one has to remember to avoid all the pitfalls.
quote:

Weak? What exactly has it failed to excell at?

Elegance?
KalvinB
KalvinB
"but the size of the *language*"

Who cares if it doesn''t actually effect the final output? None of that "bloat" is slowing down your project.

"and the number of special cases one has to remember to avoid all the pitfalls"

For example...?

And how does the number of cases in C++ compare to Java?

"Elegance?"

Oh yeah, there''s a critical aspect of a language. /sarcasm

How is Java any "prettier" than C++?

Ben


IcarusIndie.com [ The Rabbit Hole | The Labyrinth | DevZone | Gang Wars | The Wall | Hosting | Dot Com | GameShot ]
Syrillix
Syrillix
quote:
Original post by SabreMan
[quote]
Weak? What exactly has it failed to excell at?

Elegance?

elegance? how on earth is that relevent? java is just as bloated IMO as c++ with all the depracted methods/objects etc, etc... did any one read that article at o''reillys about things that should be fixed in java. just a question, not that im deriving my opinions from that article. (a little disclaimer, just in case)
i agree with what someone mentioned earlier java is better suited to learning OOP than most other languages.



Get busy livin'' or get busy dyin''... - Shawshank Redemption
Get busy livin' or get busy dyin'... - Shawshank RedemptionIf a man is talking in the forest, and no woman is around to hear him, is he still wrong? - UnknownFulcrum

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.