arrays: if(null == [ ])

deadalnix deadalnix at gmail.com
Tue May 15 15:33:26 PDT 2012


Le 15/05/2012 15:29, Alex Rønne Petersen a écrit :
> On 15-05-2012 15:22, Gor Gyolchanyan wrote:
>> On Tue, May 15, 2012 at 4:00 PM, Alex Rønne Petersen
>> <xtzgzorex at gmail.com <mailto:xtzgzorex at gmail.com>> wrote:
>>
>>
>> Yes, because using a Phobos function in druntime is perfectly
>> possible! Totally!
>> --
>> - Alex
>>
>>
>> Isn't it obvious what needs to be done? Come on, it's no too hard to
>> see...
>>
>>
>> --
>> Bye,
>> Gor Gyolchanyan.
>
> No, it should not be moved to druntime. druntime is the low-level
> abstraction layer over the compiler, nothing else.
>
> Further, all the write* functions perform GC allocation, which is
> unacceptable in druntime.
>

I do agree that it does not belong to druntime.

However :
1/ druntime already perfom GC aloc.
2/ druntime isn't supposed to printf anyway.


More information about the Digitalmars-d mailing list