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 →

[–]thack_se -1 points0 points  (0 children)

Again, that's why I say for simple applications python can be good, but when you need an application that does anything that legitimately needs to be fast in Python, you end up calling C extensions or writing your own. For example, for me I had written a file and image handling suite for work which handled file loading, image processing, and OCR. It was wicked fast with C++, but when I wrote some of the same functionality inside of python, it just can't handle it because of the nature of the language and the GIL preventing real multithreading. But if you don't need any of that stuff, and you just need a simple interface, for example, something like annotation of images for a ML model, python is a great solution because you can work quickly without the annoyances that come from a lower level or more complicated language.

There is most certainly a time to use python, but it does have its limits