+ 2

Why python is slow compared to java and C.

2nd Aug 2020, 5:36 PM
Balaji
Balaji - avatar
3 Answers
+ 6
https://www.sololearn.com/discuss/2391663/?ref=app
2nd Aug 2020, 5:48 PM
Rohit
Rohit - avatar
+ 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/
2nd Aug 2020, 10:03 PM
zemiak
+ 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
2nd Aug 2020, 5:50 PM
Bot
Bot - avatar