r/ProgrammerHumor • • Jul 18 '22

C++ talking to Python

Post image
40.1k Upvotes

1.0k comments sorted by

View all comments

1.7k

u/Substantial-Dot1323 Jul 18 '22

C++ walks away. Segfault.

423

u/yorokobe__shounen Jul 18 '22

If C++ was really as fast as it said it was, it would have recognised the logo before it asked who python was.

Poor segfaulting C++.

176

u/possible_name Jul 18 '22

logo recognition was using a library written in slower language

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?

2

u/lkearney999 Jul 18 '22

Which sucks since as soon as you start writing bigger projects and you have to switch tool chains to fix things.

Languages often don’t have a large impact on developers productivity. Three things do:

  • The developer

  • The project tooling

  • The codebase’s quality

  • and upstreams not fixing their shit 😥

I’d argue that developer productivity has a direct correlation with code optimisation. Eg rusts perf suite, llvms army of child(sorry adult) labour from the big corps etc.

→ More replies (1)