3 ms·
it's my understanding that python is more used as a user interface to the actual AI programs, which are mostly written in some GPU-friendly language, so Python
by dusted 4y ago
it's my understanding that python is more used as a user interface to the actual AI programs, which are mostly written in some GPU-friendly language, so Python is more for menial work that can be slow because it's just doing minor tranformations to data that's being passed to and from the actual programs..
But yeah, python is painfully slow, write a naive "count the lines in a textfile" program in C and Python, you're in for a bad time waiting for python to finish.. even with small files of 100 gigabytes..
- jstx1 4y agoNo, Python is much more than an interface - the model architercture and definition happens in Python. If you're writing an ML algorithm, you're writing it in Python, it's just that the lower level operations are implemented in something like C++.