954,148 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Hey, I'll bet my dad can beat your dad up...

Anyways, I'm glad I read this because I was undecided as to which subject to take a course on between the two respective subjects discussed in this thread, and I've decided to go with C++ first.

A Monkeys Uncle
Junior Poster
138 posts since Feb 2004
Reputation Points: 11
Solved Threads: 0
 

I think C++ has been always kind of dead. The only major software i can think of that was written in C++ is Mozilla and Qt (Even though major implementaion of these software was rendered in C). I don't know why people like C++ so much, when you can achieve object oriented design through C. GTK and Gnome are perfect examples of that. Plus a lof of people still prefer writing code in pure Win32 API rather than messy MFC.

True object orientation cannot be achieved without a true Object Oriented Operating System.

hivework
Newbie Poster
18 posts since Mar 2004
Reputation Points: 13
Solved Threads: 0
 

What about the development of videogames?

A Monkeys Uncle
Junior Poster
138 posts since Feb 2004
Reputation Points: 11
Solved Threads: 0
 

C/C++ won't die.

shalin
Newbie Poster
15 posts since Jul 2004
Reputation Points: 11
Solved Threads: 0
 
What about the development of videogames?

You can develop video games in any language out there. Heck, you can write it in JavaScript if you'll write a compiler for it. The key developing method in modern video games is accessing Video Hardware through series of interrupt calls via pure assembly. As long as you do that, you can lay any language on top of your hardware code.

Any modern operating system does not know what Class or an Object is.
Every code that is loaded in memory is represented as such: Text segment (that's what the C functions are), Stack (local variables in C), and the Heap (dynamic memory - whatever is allocated via malloc() and such). This program set-up can't get any more perfect for C (or any other procedual language - not C++, Java or C#).
In addition all core OS service libraries (Kernel32.dll or libc.so in Linux) were made to be used with C primarely. OpenGL API is also made primarily to be used with C. Qt, KDE, (and whatever the hell else written in C++) all lay on top of the X Windowing system which is a C language API. Even .NET stays on top of the Win32 API.

I can't wait till someone will write an OS Kernel in C++. (Please don't mention anything about the "Choices" operating system")

hivework
Newbie Poster
18 posts since Mar 2004
Reputation Points: 13
Solved Threads: 0
 
Hi everyone, I just came home from a software conference in nagoya, Japan where they had any kind of software you can think of on this planet. There was one talk i went for and i think its quite interesting to have it discussed fully here. Alot of the companies there all said the c language is now nothing more than a relic and dying a slow death and that the new Java 2 has already taken over c programming. ...

I am looking for any kind of numbers that proof this right or wrong. Does anybody know about a (citable) study that shows numbers like,

- the estimated existing code base (lines of code)
- the estimated number of developers
- the estimated number of projects still beeing developed in C/C++
- ... anything else that can be used to compare the importance of C/C++ and Java in the "real world".


Anybody an idea where I can look for such a study?

Regards

Daniel Lohmann

Daniel_Lohmann
Newbie Poster
1 post since Sep 2004
Reputation Points: 10
Solved Threads: 0
 

I'm a free lancer who knows many different languages, and to be honest I find languags like Java to be VERY overated. Making GUI's in Java is a headache and well, if you want the whole portability thing with your program, QT has a great API thats portable on almost any system, and processing time is not sacraficed.

As a free lancer, my job is to get things done fast, good-looking, and efficiently. The language is your tool, sometimes you need a screw driver, some times you need a hammer. I devloped many projects for Mac, Linux, and windows, using common API frameworks such as QT. After Learning Java, I have yet to really use it on a project.

One thing is for sure though, it dosn't matter hwo you get the job done, as long as it gets done on time!

BountyX
Posting Whiz in Training
230 posts since Mar 2004
Reputation Points: 28
Solved Threads: 9
 

Banana? Banana? Banana? Banana? Banana?

Mr.PinkBunny
Newbie Poster
8 posts since Jul 2004
Reputation Points: 11
Solved Threads: 0
 
Banana? Banana? Banana? Banana? Banana?


:mrgreen: :mrgreen: :mrgreen:

BountyX
Posting Whiz in Training
230 posts since Mar 2004
Reputation Points: 28
Solved Threads: 9
 
I think C++ has been always kind of dead. The only major software i can think of that was written in C++ is Mozilla and Qt (Even though major implementaion of these software was rendered in C). I don't know why people like C++ so much, when you can achieve object oriented design through C. GTK and Gnome are perfect examples of that. Plus a lof of people still prefer writing code in pure Win32 API rather than messy MFC. True object orientation cannot be achieved without a true Object Oriented Operating System.


your joking right?? lol C++ already kind of dead. ill laugh really hard at that. then remind you that most everything is writtin in C++, not just one webbrowser.

Killer_Typo
Master Poster
781 posts since Apr 2004
Reputation Points: 152
Solved Threads: 39
 
your joking right?? lol C++ already kind of dead. ill laugh really hard at that. then remind you that most everything is writtin in C++, not just one webbrowser.


There is big difference between C and C++. "Most everything" is written in C.

hivework
Newbie Poster
18 posts since Mar 2004
Reputation Points: 13
Solved Threads: 0
 
There is big difference between C and C++. "Most everything" is written in C.


actually alot of things are writtin in C++ and i know the difference. to a certain degree i do know the difference, i dont claim to have all the knowledge, just enough that i do know the difference.

Killer_Typo
Master Poster
781 posts since Apr 2004
Reputation Points: 152
Solved Threads: 39
 

Hi everyone

I guess its sad but true, i have been in VC++ for past 2 years but the air around is for more simpler means of coding. Its getting tougher to find VC guys and new techies are not paying attention to it. They are more inclined to C#. Forget that Microsoft seems to be more inclined to push everyone to C# as it has removed the VC Certification Track isnt that sad ...

sameerupare
Newbie Poster
4 posts since Sep 2004
Reputation Points: 10
Solved Threads: 0
 

Hi...


I think it's too early to say that C/C++ is dead or even dying. I'll belive in its death only after at least one OS will be written in Java 2, most of software for it will be written in Java 2 and this OS will be as popular as MS Windows or Linux today. But until all those terms aren't true I'll never belive that C/C++ is dead.

db0
Newbie Poster
3 posts since Sep 2004
Reputation Points: 10
Solved Threads: 0
 

Well i think the simple fact that you can write system level programs and use asm code really brings the power to c and c++ but for aplication programming i can see why c/c++ is dying, alot of programming firms only use vb an vc because of the plain and simple fact is that you don't have to make so many calls to windows functions. But because you can program at so much lower of a leval the possabilitys are endless with c/c++ so to speak.

omol
Junior Poster
156 posts since Jul 2004
Reputation Points: 10
Solved Threads: 10
 

Almost everything these days are written in C++. Lets think of numerous videogames, especially Diablo II, warcraft 3, etc.

How many other languages can you do system level programming and retain portability? Not Java...

BountyX
Posting Whiz in Training
230 posts since Mar 2004
Reputation Points: 28
Solved Threads: 9
 

I don't think you understand how video games are written... Those games use 3D Rendering things like OpenGL and DirectX, which is just as available on the .NET platform. In fact, Quake 2 has been ported to the .NET framework: http://www.vertigosoftware.com/Quake2.htm

Also, there is NO way to do low level programming and retain portablity. A PowerPC processor will not understand low level x86 code, no matter what language you develop in. In fact, Java and .NET is the answer to the problem of portability.

Tekmaven
Software Architect
Moderator
1,274 posts since Feb 2002
Reputation Points: 322
Solved Threads: 28
 

An interesting topic. Especially the article posted by Tekmaven.

My dad is a carpenter. He always tells me stories how the younger guys go and grab the power saw to cut a single piece of wood when a handsaw would suffice.

I will admit I am a victim of this. I took a few C++ classes followed by a Java class. I remember what nightmare it was to write a multi-threaded program in C++ and how easy it was in Java. Java seems to have took the logical thinking out of dealing with threads. At least is far simplier then it was in C++.

After reading this, I can appreciate what I did in my C++ data structures class. I had to write my own searching and sorting algorithims, my own hash table, I wrote an array class that functioned like a vector. At the time I was like "why can't I just use the STL?" Now I know why.

Squires
Junior Poster
125 posts since Jun 2004
Reputation Points: 93
Solved Threads: 1
 

hi everyone,
hivework is more or less right because there are really a lot of programs written in c there are not much written in c++. As for windows function calls there are a lot of other programming languages in the market that can match c++ like
tcl. Basically for squires what you are saying is that why mow the lawn with a lawn mower when you can equally as well use a scissors. Yes they both get the job done. Anyone that has tried to use the mfc classes to write a simple ftp client will understand what i mean. The mfc can be very messy and yes tekmaven is right in that most games need to rendering like OpenGL and only the interfacing part is programmed in c++ but can also been done by Java 2. One more thing is that asm is a low level language and c++ is a high level language thus mixing them both can cause your program to lose a lot of portability. Yes a lot of firms used to use vb but a lot of them fealt cheated after the release of vb.net as vb.net seems to a different language altogether.

As for bountyx's question
rapid-q, tcl, tkinter, jython, python,java2
Just naming from the top of my head

One thing to note is that change is the hardest thing to accept

Thank You

Yours Sincerely

Richard West

freesoft_2000
Practically a Master Poster
623 posts since Jun 2004
Reputation Points: 25
Solved Threads: 10
 

i dont think the Game Industry will let C++ die that easily. I have seen what Tekmaven™ said about games programming, but with due respect to him I have seen almost all the game studios asking for programmers who are well-experienced in c/c++, actually among all the necessary qualifications required to get the job of a games programmer "skilled in c/c++" stands at the top. I have yet to see any famous game studio looking for a full-time games programmer experienced in a programmnig language other than c/c++.

I have very little knowledge about DirectX, but as far as I know DirectX is just like a library with functions and classes and u need programming languages like C++ or Visual Basic to code according to those functions (i.e call them) to make the graphics card do ur bidding. And my speculation is that like any other program it will depend on the language it was written with as how fast it will work with the Hardware. I dont see any of Java's execution engines topping C++ in that case, since games programming now-adays strive to get the fastest possible execution and thanx only to C\C++ that's coping up with that. As far as I know unlike C++ Java doesnt even support Multiple Inheritance which I believe plays a vital role in games design.

Asif_NSU
Posting Whiz
353 posts since Apr 2004
Reputation Points: 113
Solved Threads: 3
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You