To view parent comment, click here.
To read all comments associated with this story, please click here.
Right, that's why nearly every popular desktop app is written in C++:
* MS Office
* Photoshop
* Dreamweaver/Flash
* Virtually every commercial computer game made in the last 10 years
* Firefox
* Google Earth
Actually, a lot of computer games now are moving away from C++ and more towards scripting languages or other high level languages.
etc etc. I guess the entire software industry are idiots, it's the only explanation
Not the entire software industry. It usually takes a while for things like this to change, although it's already started happening--just very slowly.
Right, that's why nearly every popular desktop app is written in C++:
<snip>
etc etc. I guess the entire software industry are idiots, it's the only explanation
De facto standards mean nothing
After all, Windows 98 was for a long time the de facto standard for desktops, following up Windows 95.
C++ is a horrid language, for which the only claim to fame (widespread use) is that it looks like C, which back in the day was the most-used language, in a time where there weren't much better alternatives yet.
The fact that lots of people use it doesn't reflect positively on its quality. It simply means that the cost of switching to something else would be too high. In the engineering world, there are lots of programs that have text-file interfaces directly based on the punchcard format they used in the 1970s. Nobody bothers updating those interfaces. Is that because a primitive text-file* is a superior mode of interaction? No! It's because the retraining costs of moving to something else, even if it were dramatically better, would be huge. It's cheaper to just spend much more training each new user than to fix the interface and have to retrain all the existing users.
*) That is not to say that text-files are primitive, but rather that these particular text-files are primitive!
Did I say you had to be an idiot to like C++?
Most of those applications stem from the early 90's when C++ was _the_ language. Guess what, it's not 1993 anymore
.
C++ is an excellent game language. It gives you object oriented structures without giving you a garbage collector.
However, 99% of us don't write games.
Many popular programs, especially on Unix, are not written in C++. Typically they get done in c because c++ pretty well failed to get rampantly popular in the Unix world.
Applications like Eclipse, OOo, and Apache are examples of programs not written in C++. They seem to be fairly popular in their markets from what I've seen
.
Well, every popular desktop app is ladden with security holes too, maybe this is related?
One can wonder if their producer were held accountable for the security holes, would they choose a different language?
For the language, I think that C# is superior to C++, now I'm not sure about the performance/memory consumption..
I've only use one .Net application until now: ATI driver and it's sloooowww.
It was because C++ was the easiest to dock onto the given interfaces.
But face it as we speak even the desktop application programmers are moving away from good ole C++ towards saner grounds, and computer game people already have integrated scritping languages and java into their core code years ago for non performance related task.
The only reason most desktop programs are written in C++ is legacy reasons, no one ever would start to program a new office in C++ anymore nowadays in fact the last office suites written all were done in java (that is the last two coming out the last two years)
But face it as we speak even the desktop application programmers are moving away from good ole C++ towards saner grounds, and computer game people already have integrated scritping languages and java into their core code years ago for non performance related task.
But the core (the engine) is written in C++. An script languages are only used for level design (and that’s because the level designer are designers and not programmers...).
And I never heard that someone used Java in a (real) Game...
And KOffice is written in C++




Member since:
2005-12-31
Right, that's why nearly every popular desktop app is written in C++:

* MS Office
* Photoshop
* Dreamweaver/Flash
* Virtually every commercial computer game made in the last 10 years
* Firefox
* Google Earth
etc etc. I guess the entire software industry are idiots, it's the only explanation