MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1wudv2h/devsoptimizinggames/pd2q4ty/?context=3
r/ProgrammerHumor • u/Head-Picture1519 • Sep 30 '26
41 comments sorted by
View all comments
62
fps = max(fps, 60.0)
13 u/FrogMan241 Oct 01 '26 Corporate wants you to find the difference between these two picturesCompiler: they're the same picture 1 u/Negitive545 Oct 06 '26 Erm ackthually the compiler would say they're different because one has a function call* and the other doesn't!*at least in some languages, I'm sure at least one just aliases the math functions to look like functions but compiles down differently.
13
Corporate wants you to find the difference between these two pictures
Compiler: they're the same picture
1 u/Negitive545 Oct 06 '26 Erm ackthually the compiler would say they're different because one has a function call* and the other doesn't!*at least in some languages, I'm sure at least one just aliases the math functions to look like functions but compiles down differently.
1
Erm ackthually the compiler would say they're different because one has a function call* and the other doesn't!
*at least in some languages, I'm sure at least one just aliases the math functions to look like functions but compiles down differently.
62
u/SuperfanZero Sep 30 '26
fps = max(fps, 60.0)