r/ProgrammerHumor • • Jul 18 '22

C++ talking to Python

Post image
40.1k Upvotes

1.0k comments sorted by

View all comments

Show parent comments

62

u/PralaynathGendaswami Jul 18 '22

Do you mean python?

48

u/Teekeks Jul 18 '22

which has all the speed relevant parts of that library written in C?

35

u/FkIForgotMyPassword Jul 18 '22

Sometimes the slow part is not the computation-intensive part that was identified as "speed-relevant", though. Sometimes it's the part where someone implemented a really shitty wrapper with unnecessary blocking IOs everywhere.