CTFE and DI: The Crossroads of D

Adam Wilson flyboynw at gmail.com
Wed May 9 15:25:38 PDT 2012


On Wed, 09 May 2012 15:18:49 -0700, Era Scarecrow <rtcvb32 at yahoo.com>  
wrote:

> 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...

There are no plans to do this at all any point in the future so waiting  
for it would be fruitless.

-- 
Adam Wilson
IRC: LightBender
Project Coordinator
The Horizon Project
http://www.thehorizonproject.org/


More information about the Digitalmars-d mailing list