Object.factory() and exe file size bloat

Walter Bright via Digitalmars-d digitalmars-d at puremagic.com
Fri Aug 21 13:28:45 PDT 2015


On 8/21/2015 6:29 AM, Dicebot wrote:
> 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

It's good to hear of use cases for Object.factory.

 > until some reflection bugs gets fixed.

Bugzilla issues? (You knew that was coming!)


More information about the Digitalmars-d mailing list