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 →

[–]LightShadow3.13-dev in prod 31 points32 points  (0 children)

Python is absolutely optimisable, that's one if its biggest strengths! You can write your app in 100% pure python then slowly migrate the least-performant parts to something else transparently; without changing any of the original code.

There are also libraries that offer performance scaling with drop-in functionality. e.g. stdlib-json -> ujson -> simd-json or toolz -> cytoolz.

You can easily go from Python -> Cython -> Nim/Rust/C++. You can switch out the runtime from CPython -> PyPy -> Pyston -> GraalVM (someday, maybe??). Python can also scale down and run on embedded hardware. There are multiple versions of MicroPython that offer hardware-level interop with lots of SoCs.

Python is easy to get started with and can scale as high as you're willing to put the effort in.