B
B
Bagumices2013-12-22 11:34:19
Python
Bagumices, 2013-12-22 11:34:19

How is the speed of Python now?

I started learning Python, I used to read that the language has a minus, namely speed (compared to compiled languages), and therefore I had to use all sorts of crutches, how is it now?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey, 2013-12-22
@Bagumices

any interpreted language will be slower than its compiled counterparts. Another thing is that for most tasks this is not so important, because often most of the time is spent on communicating with databases, accessing the file system ... in this case, the process will be blocked for both compiled and interpreted programs.
And then there is the PyPy jit compiler, which for some tasks, especially for complex calculations, speeds up the whole thing at times.
The choice of another runtime is not a curse. Casts are in your code. In general, it seems to me that you clearly do not need to worry about this now. That's when python will cause performance problems for you, and you will see that the bottleneck is in the interpreter itself, then yes, then you need to change the runtime to the same pypy and see what changes.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question