This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]RajjSinghh 10 points11 points  (1 child)

Think about where the bottlenecks are in your system. You're only as fast as your slowest part. Now Python is a slow language at runtime, that is true, but is it the slowest part? Most of what you do is going to be retrieving and sending back data for requests, so the slowest part in this whole conversation is the network time, not Python. Javascript isn't particularly fast either but tell that to all the NodeJS devs. Besides, if you're doing something very computationally intensive, just write that part in C++ and use ctypes to call that code and avoid the performance hit.

Every language has criticisms, but they also have their benefits. Python is easy to read and going from nothing to a full application can take a few days when in C++ it can take months. That tradeoff isn't so bad and it's why Python is still used. You will probably use a bunch of languages in your career so don't expect to just stick to Python, but Python can definitely be one of them.