L
L
lPolar2015-05-21 16:42:43
Python
lPolar, 2015-05-21 16:42:43

Programming language after Python?

Hello!
The question has obviously already been asked and chewed a thousand times, but as always, I want to get something fresh and more relevant in response.
Bottom line - I'm a data scientist with python + R skills. However, in the course of solving practical problems, the understanding comes that Python + R is weak for real production applications, due to its slowness, the roots of which grow from the fact that both languages ​​are interpreted. Based on this, a simple solution comes to mind - write parts of the application in a faster language, and then use these libraries inside Python or R.
And the question is which of the faster languages ​​​​is worth learning.
If I understand correctly, then in terms of program execution speed, the order is approximately C ++ -> Java -> Scala.
If we turn to the complexity of languages, then the order is reversed accordingly (however, this is my personal opinion on the first impression of the language, it may be wrong) - Scala -> Java -> C ++.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
S
sim3x, 2015-05-21
@sim3x

comes the understanding that Python + R is weak for real production applications, due to its slowness
until the understanding came that all PLs are hellishly slow - it's too early to switch to other
PLs

U
un1t, 2015-05-21
@un1t

However, in the course of solving practical problems, the understanding comes that Python + R is weak for real production applications, due to its slowness, the roots of which grow from the fact that both languages ​​are interpreted.

A very strange conclusion. For what tasks is Python not enough?
C++ is faster than Java, Java and Scala have the same speed.
Java seems to be faster than python, but often applications written in java slow down, there are certain problems there.
Look towards Go.
On the plus side, you can write modules for python and many modules are written on it. If you already use sish modules, then switching to Java will definitely not increase your speed. You can not abandon the python, but rewrite the bottlenecks on the pluses.

L
lega, 2015-05-21
@lega

For simple calculations (for a python project), I tried go and C, the latter turned out to be more convenient and ~ 2 times faster (and 70x faster than python).

V
Vladimir Martyanov, 2015-05-21
@vilgeforce

Including Python in a C program is done in literally three lines. But the script will be executed in the built-in python at the same speed as through the "normal" python :-) If you want to rewrite the most critical parts from Python to C and make them available from the python built into the application - yes, this is an option. But all the same it is necessary to try, look at speed.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question