C/C++ to die anytime soon

Discussion about everything. New games, 3d math, development tips...
visitor

C/C++ to die anytime soon

Post by visitor »

I just want to know what you guys think about c/c++, is it going to die in the next years, or java and all the .net arent winning the battle yet???
I have to say I was kinda releaved by seeing someone with experience in the industry (tim sweeney - the epic games pro) saying that java and c# where couldnt replace c/c++ yet, and that it had a long way up, but things may change around the next decade or so.
Id like to know, for example, from the irrlicht developers mouth, if It will be crazy to port all the irrlicht code to c# for instance (I know there is a binding, but Im talking bout the whole engine).

This whole c/c++ vs Java/C#/.NET just keeps hitting my brains because I really love c++ (although I know Java very well) and Id like to see it living forever but seems like all the VM languages are about to win the battle or something, and since Im just starting into programming (well, not exactly, but just to say, Im 20, had my first computer at 16, thus I've been programming for 4 years now) and wouldnt like to start a big project like a 3d engine in c/c++ and then BUMP, everyone stops using it and migrates to the .NET languages
eXodus
Posts: 320
Joined: Tue Jan 04, 2005 10:07 am
Location: Canada
Contact:

Post by eXodus »

C++ won't just stop existing at a precise date... Obviously languages evolve but they don't die easily.

Talking of big projects, Quake III was released around 2000 and was coded in C!!

If I had to take a bet, C++ will keep being the #1 language for another 5-10 years. Then, according to how things are going right now, C# will take over Java.

My 0.02$
qwe
Posts: 112
Joined: Sun Dec 28, 2003 12:54 am
Location: Oregon, USA

Post by qwe »

the problem is that deep down, most operating systems are written in C/C++. Therefore, any program you're going to write can make the fullest use of what the OS has to offer if it's written in C/C++. Until someone writes an OS in Java or .NET(Longhorn, maybe), C/C++ will still stay at the top, simply because they're the most powerful languages out there. I know you Java nerds are going to rail on me here-- I actually like the language a lot-- but even though it's been around for several years, it's still slow as snot.

that's my analysis anyway :)
Fingers
Posts: 38
Joined: Thu Feb 10, 2005 10:17 am
Location: South Africa

Post by Fingers »

Well, My R0.02 Worth ....

When one actually looks at the Language Generations, 1-2-3-4-5 etc,

1GL = Fastest - 5GL = Slowest
Each GL Basically Rewrites code to one of the GL's below it ....

C/C++ Has remained Top of All the 3GL's ever since I Started with it in 1990.
C/C++ Allows for Coding some inline 2GL( Assembler ) within your c/c++ Project Which makes this a very Powerful Feature and allows for tweaking some performance in applications ....

Currently, I'm on a Java Project, Guess what it's Native Mode stuff is ...




It's c/c++ ..... Surprise...

Personally C/C++ Will remain around for Many years to come ....
visitor

Re: C/C++ to die anytime soon

Post by visitor »

visitor wrote: Id like to know, for example, from the irrlicht developers mouth, if It will be crazy to port all the irrlicht code to c# for instance (I know there is a binding, but Im talking bout the whole engine).
Please Niko, answer me, would it be impossible to port the whole irrlicht code to C#????
William Finlayson
Posts: 61
Joined: Mon Oct 25, 2004 12:11 am

Post by William Finlayson »

What advantage would there be to porting it all to C#? Surely a binding is all you need.
Guest

Post by Guest »

isnt c# a microsoft (and microsoft only?) thingy? nah, keep off with that poop! i really dont like the idea :?
afecelis
Admin
Posts: 3075
Joined: Sun Feb 22, 2004 10:44 pm
Location: Colombia
Contact:

Post by afecelis »

C++ will remain as the indisputable winner for long time. I think Java and C# complicate the story, not to mention Java's slower graphic performance (for what I've heard)
cmoibenlepro
Posts: 237
Joined: Thu May 27, 2004 3:18 pm
Location: Canada

Post by cmoibenlepro »

I will fight for the C++ idealism until my last blow of life.
Guest

Post by Guest »

yeah, c++ is the best!! i really like it, the best programming language i ever used ! :) (even if i have/had my problems with it)
visitor

Post by visitor »

GFXstyLER wrote:isnt c# a microsoft (and microsoft only?) thingy? nah, keep off with that poop! i really dont like the idea :?
The specification was made by microsoft, but it was made public,thus, there are two open source iniciatives
http://www.dotgnu.org/ (specially portable net)
http://www.mono-project.com/
Thus, they run in linux (and obviously win32 too), and dont make use of Microsofts framework.
William Finlayson wrote: What advantage would there be to porting it all to C#? Surely a binding is all you need.
Please notice im not asking irrlicht to be ported, if I wanted to use it from C#, Id use the binding, yes, but my question is rather if some project of this size could be ported from C++ to C#, and how difficutl would it be, thats the whole point of this thread in the end, thats why Id like to see nikos opinion but seems like hell never stop by here...
jirr
Posts: 36
Joined: Sat Feb 19, 2005 8:05 am

Post by jirr »

eXodus wrote:C++ won't just stop existing at a precise date... Obviously languages evolve but they don't die easily.

Talking of big projects, Quake III was released around 2000 and was coded in C!!

If I had to take a bet, C++ will keep being the #1 language for another 5-10 years. Then, according to how things are going right now, C# will take over Java.

My 0.02$
First I do not think that C# will rule the world - thanks heaven. But it is not the language that will make a project live or die - it's the one sitting write in front of the keyboard. Anyone nowing the russion Ego Shooter with the the KI written in Java? It's name is Chrome.

In fact, Java3D (not JAVA!) is not as fast as needed for an ego shooter with state of the art effects /right now - still improving). But using a java-Binding for irrlicht (which I did as a prototype implementation - named jirr) works like a charm. The techdemo is running with 380 fps on my out dated computer ^^

So let's use the best of all worlds and do not go on with these endless flame wars. Let's be productive!
afecelis
Admin
Posts: 3075
Joined: Sun Feb 22, 2004 10:44 pm
Location: Colombia
Contact:

Post by afecelis »

Chrome wasn't totally written in Java, only some special scripts for specific functions in the game; they're sort of like mission or AI scripts.
mm765
Posts: 172
Joined: Fri May 28, 2004 10:12 am

Post by mm765 »

KI = AI in german :)
William Finlayson
Posts: 61
Joined: Mon Oct 25, 2004 12:11 am

Post by William Finlayson »

Chrome used Java for more than special scripts and AI. As stated on their web-page, the entire game logic is written with it, the engine being the only part that isn't. I really don't understand why people get so fanatical about programming languages, they are just tools, not religions. You use whichever language you are comfortable with, but if you are clever, you learn a few, and use whichever is best suited to the task.Speed of execution is only one of many factors that can affect the choice of programming languages. Speed of development is another major one, debugging capabilities, language features, library availability, design concepts, target platform, code reusage, cost, etc etc etc.
Post Reply