+ 2
Why python is slow compared to java and C.
3 Antworten
+ 2
Notice internally python compiles to bytecode for Python virtual machine too.
One of the problems is multithreading because Python uses "Global interpreter lock"
https://en.wikipedia.org/wiki/Global_interpreter_lock
https://realpython.com/python-gil/
+ 1
Python is slower than c and java as it is a dynamically typed language meaning it doesn't require you to care about memory while c and java are statically typed language meaning they requires you to manage memory wisely and manually