Srs question, if Python is so much slower than Java then how the hell can python be viable for anything even slightly intensive? I really like the feel of python but I do not want to make something only to find out down the road that it runs like shit
It's not
https://blog.sentry.io/2016/10/19/fixing-python-performance-with-rust.html
>>57496031
less verbose language makes for faster dev time and easier changing.
If your project becomes a success and python a bottleneck then you might rewrite in something faster. IF.
>>57496031
Every non-trivial Python project gets rewritten at least partially into something else at some point.
>>57496031
Python does not need a whole VM layer to run.
>>57496031
It's for scripting. It's very fast to develop something because of its nice syntax.
It also has shit like numpy and scipy where the actual computing functions are implemented in C and python just calls the functions.
>>57496031
Are you a data scientist? If not use C++
>>57496031
python is great, it's fun, fast to write things in due to the expressiveness, no harm in doing something fun anon = )
Not every project needs speed. Also development time is far more expensive than CPU time. Depending on your need you choose one or the other. But really? Java?
>>57496031
Python is just a wrapper for ugly C code
>>57496031
With PyPy python is extremely fast
>>57497544
>With PyPy python is extremely fast
>The geometric average of all benchmarks is 0.13 or 7.7 times faster than CPython
That's still slow in my books.