KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I have been programming for a few years now and have used function pointers in certain cases. What I would like to know is when is it appropriate or not to use them for performance reasons and I mean in the context of games, not business software. Function pointers are fast, John Carmack used them to the extent of abuse in the Quake and Doom source code and because he is a genius :) I would like to use function pointers more but I want to use them where they are most appropriate. These days what are the best and most practical uses of function pointers in modern c-style languages such as C, C++, C# and Java, etc?
Tags (comma-separated)
Save Edits
Cancel