944,050 Members | Top Members by Rank

Ad:
  • C++ Discussion Thread
  • Unsolved
  • Views: 1054
  • C++ RSS
Nov 1st, 2009
0

Why is C++ so big?

Expand Post »
Why are there so many people doing c++. I've heard even from c++ coders, that python is better. Is this maybe because c++ has been around longer? What do you think the future of python is? Do you think It will eventually beat out c++?
Reputation Points: 10
Solved Threads: 1
Light Poster
nevets04 is offline Offline
28 posts
since Oct 2009
Nov 1st, 2009
0
Re: Why is C++ so big?
There are many people doing c++, because c++ is basically a starting ground for coders (at least it was for me). I do not believe that python will 'beat out' C++, even if python is indeed better. Take the HTML v. PHP example. PHP is a much better coding language, however schools are still teaching HTML. Why? Because schools like to start off with the basics, and work their way up.

Do I know for sure that c++ won't be completely beat out by python? No..I have no clue at all, as I cannot control the future. This is just my educated guess.
Last edited by restrictment; Nov 1st, 2009 at 11:47 pm.
Reputation Points: 102
Solved Threads: 17
Posting Whiz in Training
restrictment is offline Offline
228 posts
since Oct 2009
Nov 1st, 2009
0
Re: Why is C++ so big?
There are many people doing c++, because c++ is basically a starting ground for coders (at least it was for me). I do not believe that python will 'beat out' C++, even if python is indeed better. Take the HTML v. PHP example. PHP is a much better coding language, however schools are still teaching HTML. Why? Because schools like to start off with the basics, and work their way up.

Do I know for sure that c++ won't be completely beat out by python? No..I have no clue at all, as I cannot control the future. This is just my educated guess.

Edit: Darn, apparently I made two posts..my pc is kind of laggy atm, and I must have accidentally clicked twice. Could an admin/moderator delete this post please?
Last edited by restrictment; Nov 1st, 2009 at 11:48 pm.
Reputation Points: 102
Solved Threads: 17
Posting Whiz in Training
restrictment is offline Offline
228 posts
since Oct 2009
Nov 1st, 2009
-7
Re: Why is C++ so big?
Quote ...
Take the HTML v. PHP example. PHP is a much better coding language, however schools are still teaching HTML. Why? Because schools like to start off with the basics, and work their way up.
You clearly dont know what you are talking about. PHP is a serverside scripting language. HTML is markup language which is renderd on the clients browser. Every time you echo something from a PHP script, that output is in the form of HTML, enabling it to be displayed on the screenn. HTML handles the layout and actual visual aspect of things, while all PHP does is perform functions behind the scene. Its in this way that they work together to form dynamic pages. One will never obsolete the other, they work together to perform different tasks.

As for why c++ is bigger than python:

1) more portable.
2) huge existing codebase (the reason there are still jobs for FORTRAN programmers). After all, if your program aint broke, why fix it (and at a cost!).
3) large existing pool of coders trained in it

Anyway, you seem to be ignoring the fact that the python virtual machine, and most of its standard libary are thereselves written in C.
Last edited by jbennet; Nov 1st, 2009 at 11:56 pm.
Moderator
Featured Poster
Reputation Points: 1800
Solved Threads: 575
Moderator
jbennet is online now Online
16,526 posts
since Apr 2005
Nov 1st, 2009
2
Re: Why is C++ so big?
[quote]Why is C++ so big?[/code]

That's what she said.
Reputation Points: 237
Solved Threads: 117
Practically a Posting Shark
Clinton Portis is offline Offline
822 posts
since Oct 2005
Nov 2nd, 2009
0
Re: Why is C++ so big?
I think C++ will never lose its popularity.Its concepts are simple and are used in Java,VC++,c#,Vstudio and even a little in VB.If you know C++,You'll be familiar with most others.Its also more user friendly.
btw,I dont know much about python...



In fact, I don't know ANYTHING about python
Reputation Points: 10
Solved Threads: 0
Newbie Poster
abhaymv is offline Offline
13 posts
since Oct 2009
Nov 2nd, 2009
0
Re: Why is C++ so big?
I think C++ wont be replaced by Python. Why? Because even the Author of Python didn't intend it as replacement but rather a complement. So Python Complements C/C++ instead of rivaling it. Ou can event emebed the Python interpreter and make use of both C/C++ and Python.

As to why C++ is big I can say that:
1. Huge learning resources (Though this is becoming true for Python too)
2. It is faster than Python (For time sensitive App.)
3. Have more toolkits both free & commercial (Many Pythonic great tools are wrappers around C/C++ toolkits)

Some Python strength are:
1. Elegance and easiness
2. Many free Books (Though other resources are scarce)
3. Mature toolkits (Like GUIs Plotting, Gamming etc)
4. Powerful few data types (Lists, dictionaries, tuples et al)

So the two are Brothers instead of enemies/rivals
Just my 2 cents
Reputation Points: 462
Solved Threads: 392
Senior Poster
evstevemd is offline Offline
3,681 posts
since Jun 2007
Nov 2nd, 2009
-7
Re: Why is C++ so big?
Quote ...
Mature toolkits (Like GUIs Plotting, Gamming etc)
And C doesnt? (from third parties)
Last edited by jbennet; Nov 2nd, 2009 at 10:18 am.
Moderator
Featured Poster
Reputation Points: 1800
Solved Threads: 575
Moderator
jbennet is online now Online
16,526 posts
since Apr 2005
Nov 2nd, 2009
-1
Re: Why is C++ so big?
Click to Expand / Collapse  Quote originally posted by jbennet ...
You clearly dont know what you are talking about. PHP is a serverside scripting language. HTML is markup language which is renderd on the clients browser. Every time you echo something from a PHP script, that output is in the form of HTML, enabling it to be displayed on the screenn. HTML handles the layout and actual visual aspect of things, while all PHP does is perform functions behind the scene. Its in this way that they work together to form dynamic pages. One will never obsolete the other, they work together to perform different tasks.
Did you really need that remark, just to make me feel like crap for making a simple mistake that most likely 75% of the population wouldn't know? ..Here I was thinking moderators are supposed to help people, not give them put downs.

Anyway, PHP and HTML do work together in some cases, please understand that it is not all the time. PHP is a more complex coding language than HTML, which gives it more capabilities, hence the point I was getting at, trying to express C++ and PHP differences. Although PHP may use HTML to display the webpage, they are virtually different coding languages.

Hopefully you understand now.
Last edited by restrictment; Nov 2nd, 2009 at 6:53 pm.
Reputation Points: 102
Solved Threads: 17
Posting Whiz in Training
restrictment is offline Offline
228 posts
since Oct 2009
Nov 2nd, 2009
-7
Re: Why is C++ so big?
Quote ...
PHP is a more complex coding language than HTML
Thats precicely my point just there. HTML is *not* a programming language, its a markup language. In the same way that XML is != say, python. It has no meaning without context.
Moderator
Featured Poster
Reputation Points: 1800
Solved Threads: 575
Moderator
jbennet is online now Online
16,526 posts
since Apr 2005

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C++ Forum Timeline: Array rotate in wrong way
Next Thread in C++ Forum Timeline: Case Expression Not Constant





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC