Object.factory() and exe file size bloat
Dicebot via Digitalmars-d
digitalmars-d at puremagic.com
Fri Aug 21 06:29:33 PDT 2015
On Friday, 21 August 2015 at 13:18:17 UTC, Jacob Carlborg wrote:
> On 2015-08-21 12:44, Walter Bright wrote:
>
>> Object.factory() only has a point when it is used to
>> instantiate classes
>> in a DLL/so. It fits in nicely with export.
>
> It's useful for deserialization as well.
Btw we use it for high-level testing framework - will be rather
hard to move that to compile-time approach until some reflection
bugs gets fixed.
More information about the Digitalmars-d
mailing list