How modern languages still fail to recognize the importance of reflection is beyond me. I'm looking at you, @rustlang.
-
-
(That is, we have and use a lot of compile-time reflection, and think it’s quite valuable! Runtime reflection imposes runtime costs that aren’t acceptable in our domain, so we don’t have it, but not because we don’t think it has worth!)
-
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.
- 6 more replies
New conversation -
-
-
What do you use reflection for? I do Go. Rarely do I use reflection in my code. (May be once so far). I've been said, if it comes to point where you use runtime reflection, then think again. I mean is it really needed?
-
Have you ever converted something to JSON or XML in Go (using encoding/*)?
- 2 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.