r/C_Programming • u/wiseneddustmite • May 31 '26
question about inline
i read that inline tells the compiler to write the code of the function directly where the function is called in the code instead of calling the function that was declared separately and this saves a bit of performance, but when should/shouldn't inline be used
9
Upvotes
View all comments
Show parent comment
1
u/EpochVanquisher Jun 02 '26
General compiler reading—codegen is usually the second half of a compilers book.
Exposure to more programming languages and PL theory. Maybe pick up SICP.
If you want something more casual there’s Lambda the Ultimate.