Simplifying druntime and phobos by getting rid of "shared static this()" blocks

Stanislav Blinov via Digitalmars-d digitalmars-d at puremagic.com
Wed May 24 09:17:18 PDT 2017


On Wednesday, 24 May 2017 at 15:49:58 UTC, Steven Schveighoffer 
wrote:
> On 5/23/17 3:47 PM, Andrei Alexandrescu wrote:
>> https://github.com/dlang/phobos/pull/5421
>>
>> Looking forward to more in the same vein, please contribute! 
>> We have 25
>> left in phobos and 12 in druntime. A big one will be making 
>> the GC
>> lazily initialize itself. -- Andrei
>
> So every time I do:
>
> writeln(...)
>
> It has to go through a check to see if it's initialized? Using 
> a delegate?

It also copies every argument four times.





More information about the Digitalmars-d mailing list