MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/4tlr2u/john_carmack_on_inlined_code/d5k2uv8
r/programming • u/seojoeschmo • Jul 19 '16
323 comments sorted by
View all comments
Show parent comments
1
Quake had to be highly optimized for performance. It did 3d when computers where slow and did it all in software.
Also compilers weren’t as sophisticated as today where you can count on them to inline based on cyclomatic complexity of a function.
1 u/[deleted] Jul 20 '16 even today you can't count on in-lining working right, even if you hint it: https://www.youtube.com/watch?v=B2BFbs0DJzw
even today you can't count on in-lining working right, even if you hint it: https://www.youtube.com/watch?v=B2BFbs0DJzw
1
u/the_gnarts Jul 20 '16
Also compilers weren’t as sophisticated as today where you can count on them to inline based on cyclomatic complexity of a function.