Compile to C?

Ola Fosheim Grøstad via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Jan 23 07:07:07 PST 2017


On Monday, 23 January 2017 at 14:53:54 UTC, Bauss wrote:
> I'd guess the code generation you'd get from doing so with D 
> would be absolute horrific to read, because you'll get rid of 
> CTFE, templates, proper class structure, globals properly 
> stored, since everything in D is TLS and C doesn't then you'll 
> see weird constructs everywhere.

TLS is a nonissue. You can wrap the TLS declarations in macros.


More information about the Digitalmars-d-learn mailing list