Follow us on Twitter!
Society leans ever heavily on computers, if you have the power to take out computers you can take out society. - cubeman372
Friday, September 30, 2016
Navigation
Home
 Find:
 Information:
Learn
Communicate
Submit
Shop
Challenges
 Exploit:
 Programming:
 Think:
 Track:
 Patch:
 Other:
 Need Help?
Other
Members Online
Total Online: 37
Guests Online: 35
Members Online: 2

Registered Members: 95770
Newest Member: junk07
Latest Articles
View Thread

HellBound Hackers | Computer General | Programming

Author

Why is C/++ faster than Python?

techb
Member



Posts: 384
Location:
Joined: 15.02.09
Rank:
Moderate
Posted on 23-04-10 20:13
This is not a discussion of which is better, as I already know most of your views on best one.

I know it has to do with the interpreter.
But the interpreter is written in C/++, so wouldn't the execution speed of python be the same as C/++?




www.userbars.com/74460/665255/337-7865-ubda3219.gif
kbcarte.wordpress.com
Author

RE: Why is C/++ faster than Python?


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 23-04-10 22:04
As moshbat says it has to be intrepreted as compared to c/c++ which is already machine executable code. On top of that, python will introduce an overhead on top of the c overhead.