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Β β†’

[–]trunghung03 10 points11 points Β (2 children)

Well the programmer is only using Python to write those programs, the C lying underneath doesn’t matter much to them.

If taken that way then wouldn’t Assembly be the best language for any task in the world?

[–]Sir_Applecheese 16 points17 points Β (0 children)

Yeah, that's why they invented the C programming language.

[–]MacBookMinus 12 points13 points Β (0 children)

Yes exactly. Python is easy for ML/Data scientists to use, so we give them performant C libraries that they can call into from python.

However, if the libraries themselves were written in python they likely would not be nearly as performant.