At compile time

Don nospam at nospam.com
Mon Aug 24 00:29:54 PDT 2009


bearophile wrote:
> Don:
>> Using CTFE will be a completely different experience after the next release.<
> 
> What kind of limits do you want to lift? :-)

The unpredictability, mainly. Currently, it's really easy to write code 
that you'd expect would work in CTFE, but doesn't. Sometimes because of 
bugs, sometimes because of the official restrictions in the list, which 
are more restrictive than you'd expect.

All kinds of crazy stuff is now working in my patched version of DMD.

There's no improvements to the memory situation, though. That requires 
significant changes to several parts of the compiler. So the two most 
important CTFE bugs (1330 and 1382) won't be fixed in this release.


More information about the Digitalmars-d-learn mailing list