Which language?

Discuss any other topics here
Post Reply
User avatar
LtForce
Posts: 437
Joined: Wed May 03, 2006 11:15 am
Location: Vilnius, Lithuania

Which language?

Post by LtForce »

I'm planning to study C++ programming language. Is it worthy to learn or should I learn something better?
Lithuanians for Georgia!
User avatar
paradoxnj
RF2 Dev Team
Posts: 1328
Joined: Wed Mar 01, 2006 7:37 pm
Location: Brick, NJ
Contact:

Post by paradoxnj »

IMHO, it's the ONLY language for true game development. Nothing else can come close in speed (except pure Assembly).

It's very worth it as most tutorials, demos, samples, etc.. will be written in it.
MakerOfGames
Posts: 866
Joined: Fri Jul 08, 2005 4:27 am
Location: PA, USA

Post by MakerOfGames »

What about Java? I will be learning that this comming school year. Of course I also have a massive book on C++ I would like to read as well, but does Java have a future in game programming?
Think outside the box.
To go on an adventure, one must discard the comforts and safety of the known and trusted.
User avatar
paradoxnj
RF2 Dev Team
Posts: 1328
Joined: Wed Mar 01, 2006 7:37 pm
Location: Brick, NJ
Contact:

Post by paradoxnj »

For mobile games...yes. You won't see a RealityFactory made with Java anytime soon. Besides that, Java was written using C++. It runs on a virtual machine. This means the code is interpreted. C++ code is native.
MakerOfGames
Posts: 866
Joined: Fri Jul 08, 2005 4:27 am
Location: PA, USA

Post by MakerOfGames »

Oh, ok, thats interesting. Guess I better learn C++ then because I would like a job in the game industry as an artist, but being well rounded is very important. Will learning Java enable me to learn c++ faster?
Think outside the box.
To go on an adventure, one must discard the comforts and safety of the known and trusted.
User avatar
LtForce
Posts: 437
Joined: Wed May 03, 2006 11:15 am
Location: Vilnius, Lithuania

Post by LtForce »

Ok, so I'll learn C++. But I have a question: I downloaded Virtual C++ from Microsoft. Is this same thing as C++?
Lithuanians for Georgia!
Jay
RF Dev Team
Posts: 1232
Joined: Fri Jul 08, 2005 1:56 pm
Location: Germany

Post by Jay »

If you mean Visual C++ Express Edition, yes.

I don't know if learning Java makes learning C++ easier. But i think it's a good start. But it takes a time to 'switch' the languages because I used C++ before and then in school in informatics they wanted to use Delphi. Of course, it's easy, but it's VERY far from game development. I had some problems first becuase there were several things in the language, which i always tended to make wrong. I was so used to && intead of 'and',
|| instead of 'or' and the biggest of all, := instead of =.
However the most important stuff you learn in programming is the programming mechanics.

If you want to learn C++, then the best thing i think is to buy a book about C++ and maybe as extension, for C too, because everything that can be used in C can also be used the exact same way in C++. This is how i started. Or you search for tutorials in the internet. Either way, it wiill take some time until you can handle the important parts(like classes) of C++ with ease.


I also have something that interests me:
If Java in interpreted and needs special runtimes, is C# also interpreted becauese it needs special runtimes?

I don't use C#, i've always used C/C++, so i don't know.
Everyone can see the difficult, but only the wise can see the simple.
-----
Post Reply