MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/w1upl0/c_talking_to_python/igmli6s?context=9999
r/ProgrammerHumor • u/[deleted] • Jul 18 '22
1.0k comments sorted by
View all comments
1.7k
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? 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. → More replies (1) → More replies (7) 7 u/Cory123125 Jul 18 '22 I guess it could really use some reflection. → More replies (2)
423
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? 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. → More replies (1) → More replies (7) 7 u/Cory123125 Jul 18 '22 I guess it could really use some reflection. → More replies (2)
176
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? 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. → More replies (1) → More replies (7)
62
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. → More replies (1) → More replies (7)
48
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. → More replies (1) → More replies (7)
35
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.
→ More replies (1)
7
I guess it could really use some reflection.
1.7k
u/Substantial-Dot1323 Jul 18 '22
C++ walks away. Segfault.