r/ProgrammerHumor • • 7d ago • Bravo 2 Popcorn 1

Meme pythonSlow

Post image
12k Upvotes

421 comments sorted by

View all comments

Show parent comment

3

u/m0nk37 7d ago

Python loads the C/C++ library that runs the machine learning, python listens for events from the library and delivers it to you. Thats what a wrapper is, there is no byte code actually doing the machine learning through python, python is just the intermediator in that situation.

2

u/toejam316 7d ago

I wasn't talking about Python interacting with other libraries, I was talking about the execution of the code itself. It's literally impossible to run code on a system that doesn't at some point convert into the appropriate machine code for the platform it's executing on.

1

u/m0nk37 7d ago

K but less interaction for a better result matters. 

1

u/toejam316 7d ago

We're not discussing the best solution here.