Getting rid of global cdtors

H. S. Teoh hsteoh at quickfur.ath.cx
Thu Jun 18 05:11:41 UTC 2020


On Wed, Jun 17, 2020 at 11:46:55PM -0400, Andrei Alexandrescu via Digitalmars-d wrote:
> On 6/17/20 10:42 PM, H. S. Teoh wrote:
> > On Wed, Jun 17, 2020 at 10:02:43PM -0400, Andrei Alexandrescu via Digitalmars-d wrote:
> > [...]
> > > I needed to close that PR and it would be great if someone could
> > > pick it up.  I don't have the time to set up a Windows platform.
> > > Would be glad to take a look over the PR if someone would like to
> > > adopt it.
> > > 
> > > As I noted in the PR, eliminating static cdtors is key to lean and
> > > mean executables on a pay-as-you-go basis.
> > 
> > What about breaking it up into multiple PRs and get the non-breaking
> > parts in first, while we wait for a Windows dev to step up to the
> > plate?  Some progress is better than none.
> 
> I tried that and was told to do the Windows part too.

What about use version(Windows) as a stop-gap measure for the time
being?


T

-- 
Never criticize a man until you've walked a mile in his shoes. Then when you do criticize him, you'll be a mile away and he won't have his shoes.


More information about the Digitalmars-d mailing list