Implementing serialisation with minmal boilerplate and template overhead using core.reflect

russhy russhy at gmail.com
Tue Aug 17 13:52:19 UTC 2021


Is this runtime reflection?

Will this depend on the GC? if so does it add pressure to the GC?

We already have compile time type introspection, i don't think 
it's wise to move things to runtime, we have a poor GC adding 
more pressure to it is just bad

Compile time reflection already proved to be superior in heavy 
workloads

Never been a fan of runtime reflection in java/c#, not good 
examples to follow

Also if it uses the GC, i'm not sure "core" package is the go, 
should be put on "std", or as a library imo


More information about the Digitalmars-d mailing list