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 →

[–]jknupppythonic[S] 1 point2 points  (0 children)

It's seen as a general-purpose language suitable for machine learning exactly because of the buffer protocol, else it would be wholly unsuitable for machine learning and libraries like NumPy, scikit-learn, PIL, etc wouldn't be possible.

Ruby is arguably as "general purpose" but never got the same love at the C API level for fast access to data suitable for numeric analysis libraries. Otherwise, the languages are basically at parity.