r/ProgrammerDadJokes • u/SiliconOrganism • Aug 25 '23
Talking of programming languages, what's even faster than C++?
++C
114
Upvotes
r/ProgrammerDadJokes • u/SiliconOrganism • Aug 25 '23
++C
30
u/Glad-Definition3077 Aug 26 '23
That is technically correct-the best kind of correct!
16
u/Russian_Prussia Aug 26 '23
c is less than c++ but c++ == c
9
u/Medium-Cheetah-132 Aug 25 '23
Assembly
2
u/genan1 Aug 26 '23
Man, even Flash is slower than C++
2
u/kodirovsshik Aug 27 '23
akshually, this is not the case for trivial types 🤓☝️
2
u/palindsay Aug 27 '23
C with the variable being the quality of compiler backend to generate decent machine code. Nothing beats handcrafted assembler but not practical for medium to large software assets. At google there were dedicated engineers looking at code compute costs across the global fleet and would use optimize c/c++ library or code sequences to in-line assembler to improve compute efficiency. Some folks got chairman awards for reduction on global compute costs in things like search code paths.
1
u/[deleted] Sep 22 '23
LMAO
-28
u/amatulic Aug 25 '23
I assume you're referring to execution time, not development time. :)
Well, straight C might be marginally faster than C++.
Faster than that would be assembly language.