CTFE and DI: The Crossroads of D
Era Scarecrow
rtcvb32 at yahoo.com
Wed May 9 15:18:49 PDT 2012
On Wednesday, 9 May 2012 at 22:16:17 UTC, Adam Wilson wrote:
> On Wed, 09 May 2012 15:03:21 -0700, Era Scarecrow
> <rtcvb32 at yahoo.com> wrote:
>> Why would this be such a big deal? As I understand it some of
>> this comes from D couldn't compile to libraries (if that's
>> different now I am not sure, haven't kept up with all the
>> updates) so everything in phobos is distributed as source.
>
> Theoretically D can compile Shared Libraries now. Which means
> that DI files are going to be more useful than ever.
>
>> If we can't compile to a callable library (static or dynamic)
>> for a while and can't use CTFE on non-source, then the problem
>> is more explicitly present and either needs a workaround or
>> some type of convention.
>
> CTFE cannot currently call a function without it's source.
Currently? If it can later the problem goes away...
More information about the Digitalmars-d
mailing list