Why Python is slow and can fast in the future what do think? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

Why Python is slow and can fast in the future what do think?

18th Oct 2021, 7:19 PM
Asghar Abbasi
Asghar Abbasi - avatar
17 Answers
0
Python is a higher level language than C, which means it abstracts the details of the computer from you - memory management, pointers, etc, and allows you to write programs in a way which is closer to how humans think. It is true that C code usually runs 10 to 100 times faster than Python code if you measure only the execution time. However if you also include the development time Python often beats C.Other interpreted languages such as Java bytecode and .NET bytecode run faster than Python because the standard distributions include a JIT compiler that compiles bytecode to native code at runtime. https://stackoverflow.com/questions/3033329/why-are-python-programs-often-slower-than-the-equivalent-program-written-in-c-
19th Oct 2021, 7:01 AM
Arun Jamson
Arun Jamson - avatar
+ 5
Martin Taylor ok bro fixed it.
19th Oct 2021, 2:27 PM
Arun Jamson
Arun Jamson - avatar
+ 4
Arsenic ok bro and I didn't claim i thought of helping only anyway thanks for correcting me 😊.
19th Oct 2021, 1:22 PM
Arun Jamson
Arun Jamson - avatar
+ 4
ChillPill I don't get it either. But I always tend to find some kind of debate/argument when I read "python", "slow" and "fast" all in same line.
20th Oct 2021, 9:27 AM
Arsenic
Arsenic - avatar
+ 3
Arun Jamson it's much better to directly share the external link rather than copy pasting the answer ( which is incomplete btw ) from SO and claiming them to be your own. https://stackoverflow.com/a/3033379/12030775
19th Oct 2021, 12:42 PM
Arsenic
Arsenic - avatar
+ 3
Bot I am interested to know what matric are you using here to back up the fact that Python surpassed Java ?
19th Oct 2021, 3:45 PM
Arsenic
Arsenic - avatar
+ 3
Martin Taylor you killed me! :P
20th Oct 2021, 3:33 AM
Bot
Bot - avatar
+ 3
ChillPill his question isnt that hard to understand. English probably isnt his first language, but we can still pretty much figure out what he is trying to say. So lets not act like compilers shall we?
20th Oct 2021, 5:46 PM
ACE
ACE - avatar
+ 2
Martin Taylor, I think Arun Jamson meant that python is more abstract than C, most of the workload (memory management, sanity checks) are all handled internally in python which is not the case in C.
20th Oct 2021, 5:33 PM
Kirabo Ibrahim
Kirabo Ibrahim - avatar
+ 1
Thanks
19th Oct 2021, 6:28 PM
Asghar Abbasi
Asghar Abbasi - avatar
+ 1
Python is interpretrt
19th Oct 2021, 11:48 PM
underscore
underscore - avatar
+ 1
Coz python is an interpreted language so its slow as compared to other languages.
20th Oct 2021, 6:14 PM
Pooja Banoula
Pooja Banoula - avatar
0
We hope so,
18th Oct 2021, 7:32 PM
Jasy Fabiano
Jasy Fabiano - avatar
0
Martin Taylor sir fyi, recently python has surpassed java and c somehow, so the saying that python is older than java but didnt reach the market penetration has become outdated now.
19th Oct 2021, 2:06 PM
Bot
Bot - avatar
- 3
Why do you think Python is slow ? i mean now. Asghar Abbasi
18th Oct 2021, 7:20 PM
Adithya Keshav T
Adithya Keshav T - avatar