3 ms·
There's no reason you can't write high-performance apps in Python, unless you have decided to tie your hand behind your back and not use any of the optimization
by pekk 10y ago
There's no reason you can't write high-performance apps in Python, unless you have decided to tie your hand behind your back and not use any of the optimization strategies which have been developed in the decades that Python has existed.
If you mean something like programming without using the heap, most high-level languages cannot do that anyway.
- StavrosK 10y agoEh, sure, you can use something like Cython, but Erlang is going to have an easier time being fast and reliable, for example.
- gaze 10y agoOptimizing Python generally means using numpy, cython, or the C FFI. Or numba. Or theano. Or pypy. Unless you farm out what you're doing to another code generator or compiled library, Python can't be made fast. Try making matrix multiplication fast without passing through the FFI at all in cpython.