| | |
Why is C++ so big?
Please support our C++ advertiser: Programming Forums - DaniWeb Sister Site
![]() |
0
#2 Nov 1st, 2009
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.
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.
0
#3 Nov 1st, 2009
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?
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.
-7
#4 Nov 1st, 2009
•
•
•
•
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.
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.
If i am helpful, please give me reputation points.
0
#7 Nov 2nd, 2009
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
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
-1
#9 Nov 2nd, 2009
•
•
•
•
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.
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.
![]() |
Other Threads in the C++ Forum
- Previous Thread: BGI graphics not supported in windows..
- Next Thread: Case Expression Not Constant
Views: 613 | Replies: 9
| Thread Tools | Search this Thread |
Tag cloud for c++, python
api array arrays assignment beginner binary bitmap c++ calculator char char* class client code compile console convert data development download dynamic embedded encryption enter equation error examples excel file fstream function functions game gmail google graph gui hash input int java jni keyboard line linux list lists math maze microphone microsoft mysql mysqldb newbie numbers output parameters prime print problem program programing programming projects py2exe pygame pyopengl python random read recursion recursive richedit rpg ruby search stream string strings struct system table template templates terminal text threading tkinter tree tutorial ubuntu university update url urllib urllib2 variable visual win32 wxpython







