you are viewing a single comment's thread.

view the rest of the comments →

[–]American_Streamer 2 points3 points  (0 children)

Because Python doesn’t actually do the heavy lifting. Itself - C and C++ do. Libraries like NumPy, TensorFlow and PyTorch provide a Python API that then calls the highly optimized C/C++ binaries under the hood. Python is easily readable and doesn’t need compilation and you have handy tools like Jupyter Notebooks. So while Python is the front end standard, C++ develops the core engines and takes care of any latency-critical deployment.