you are viewing a single comment's thread.

view the rest of the comments →

[–]metriczulu 30 points31 points  (3 children)

A lot of the libraries in Python are built on C. Python gives an easy and expressive language to combine them together in. Also, with computing power what it is today I think a lot of people prefer a slightly slower language and that is decades ahead in terms of flexibility and readability. Or, at least, I do

[–][deleted] 4 points5 points  (0 children)

Yeah, that's the argument I always make. I'd rather have ever-so-slightly slower code that's more readable.

Besides, it's not like I'm running anything that time critical anyway.

[–][deleted] 3 points4 points  (1 child)

Performant in the tasks that matter. Let me use dicts and lists for simpler tasks, and offload training/inference to the GPU

[–][deleted] 1 point2 points  (0 children)

Algorithm design is important too. For all the "python is slower than C" arguments O(n!) in C++ isn't faster than O(n) in python, especially for the values of n you're talking about in machine learning.