Thread
:
C++ vs python
View Single Post
brendan
2007-08-25 , 00:55
Posts: 531 | Thanked: 79 times | Joined on Oct 2006 @ This side of insane, that side of genius
#
2
that depends on the task to be performed. python is a high level scripting language, where as C/C++ is a low level true programming language.
with C/C++ you can get down and dirty with cpu registers and do much more along the lines of address spacing with memory allocation, or even direct communication with hardware provided you know how to talk to it.
python is an interpreted scripting language. it requires that you install libraries or an interpreter that takes the python instructions and processes it allowing the computer to understand it in a more native fashion. the libraries are often in a language like C/C++/Java.
the learning curve for python is no where near as steep as programming languages like C++ and depending on the task, it may be easier to use a scripting language. the per cycle expense of a C++ instruction and a python instruction favors the C++ side because there is no need for interpretation. but the fact that you can write something like a "hello world" app easier in python makes the trade off easier.
__________________
Nokia n800
OS 2008
Pharos iGPS 360-BT
ElmScan 5 BlueTooth
BlackBerry Bold (9000)
AT&T Wireless
Quote & Reply
|
brendan
View Public Profile
Send a private message to brendan
Find all posts by brendan