Re:Plywood: A New Cross-Platform Open Source C++ Framework
by preshing on Tuesday May 26, 2020 @01:18PM
(#23313804)
The biggest advantage I find with runtime reflection it that it's possible to load and manipulate data that has no C++ definition at all. This is actually handy when working with 3D geometry consumed by a GPU.
Everyone misses compile time reflection because it solves many use cases easily (like serialization) without having to go for a complex solution or incur in performance penalties of runtime reflection. In contrast, I doubt many people care about general runtime reflection which Iād expect to be a mess in C++ and most likely not as fast as people wanted.