+ 3
Why Python is slow and can fast in the future what do think?
17 Respostas
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-
+ 5
Martin Taylor ok bro fixed it.
+ 4
Arsenic ok bro and I didn't claim i thought of helping only anyway thanks for correcting me 😊.
+ 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
+ 3
Martin Taylor you killed me! :P
+ 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?
+ 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.
+ 1
https://www.talentopia.com/JUMP_LINK__&&__python__&&__JUMP_LINK/python-surpasses-java-and-becomes-the-second-most-popular
it might have changed in 2021 though
+ 1
Thanks
+ 1
Python is interpretrt
+ 1
Coz python is an interpreted language so its slow as compared to other languages.
0
We hope so,
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.
- 3
Why do you think Python is slow ? i mean now. Asghar Abbasi