Generality creep

H. S. Teoh hsteoh at quickfur.ath.cx
Thu Mar 28 19:31:08 UTC 2019


On Thu, Mar 28, 2019 at 03:23:30PM -0400, destructionator--- via Digitalmars-d wrote:
> On Thursday, 28 March 2019 at 19:12:40 UTC, H. S. Teoh wrote:
[...]
> > Or the GC initialization in rt_init / rt_term.  Or, for that 
> > matter, the initialization code that packages command-line 
> > arguments into a string[] before invoking Dmain.
> 
> The GC is initialized on the first use.

Yes, but not calling rt_init still causes a segfault when you try to use
the GC.  So, we're not quite there yet.


> Lots of movement in this direction already happened in 2018!

That's good to know.

I'm still wondering, though, how we're going to drop druntime while
still maintain backward compatibility.  Or how we could skip the startup
code that invokes module ctors and packages command-line args into
string[].  It would be awesome if we could pull this off, but I don't
currently see how we could do it without major breakage.


T

-- 
Why waste time learning, when ignorance is instantaneous? -- Hobbes, from Calvin & Hobbes


More information about the Digitalmars-d mailing list