How modern languages still fail to recognize the importance of reflection is beyond me. I'm looking at you, @rustlang.
-
-
As far as I can see, serde is using macros to generate the code for every struct, right? The thing is, that may actually have a *higher* cost than achieving the same using runtime reflection. And saying compile-time reflection has no overhead, compared to runtime is plain wrong.
-
Imagine the case where I'm writing a large program, like a game engine, and I want to make sure I can serialize my game objects for replication. A compile-time reflection system would generate a serialize, deserialize and maybe a couple other functions for each type.
- 5 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.