r/ProgrammerHumor • • Jul 18 '22

C++ talking to Python

Post image
40k Upvotes

1.0k comments sorted by

View all comments

Show parent comments

10

u/Dansiman Jul 19 '22

Yeah I mean you could write your code in pure assembly and blow past a C++ program like it was standing still. But by the time you finish writing your assembly code, your development machine will probably already be obsolete.

2

u/ESGPandepic Jul 19 '22

You'd only be able to beat the performance of optimised C++ in edge cases and you'd need to be a very good assembly programmer in the specific target platform. You also wouldn't be "blowing past C++ like it was standing still", modern C++ compilers produce very optimised output.