C++ Tricks: Fast RTTI and Dynamic Cast
Read OriginalThis article details the creation of a custom Runtime Type Information (RTTI) system for C++ as part of the Kahncode Core Libraries. It focuses on building a fast, minimalist alternative to the standard library's RTTI, supporting dynamic casting, multiple inheritance, and type names without code generation. The author outlines design requirements, explains the core TypeInfo structure, and discusses performance optimizations for use in game engines.
Comments
No comments yet
Be the first to share your thoughts!
Browser Extension
Get instant access to AllDevBlogs from your browser