arrays: if(null == [ ])
Gor Gyolchanyan
gor.f.gyolchanyan at gmail.com
Tue May 15 07:19:37 PDT 2012
UTF manipulation functions are fundamental enough, because all of D's
strings are UTF-something.
I think std.utf deserves to be in druntime.
On Tue, May 15, 2012 at 6:05 PM, Alex Rønne Petersen <xtzgzorex at gmail.com>wrote:
> On 15-05-2012 15:35, Gor Gyolchanyan wrote:
>
>> Even if it's wrong to move writef to druntime, the toUTFz is still a
>> very small word to write.
>>
>> On Tue, May 15, 2012 at 5:29 PM, Alex Rønne Petersen
>>
>> <xtzgzorex at gmail.com <mailto:xtzgzorex at gmail.com>> wrote:
>>
>> 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>
>> <mailto: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.
>>
>> --
>> - Alex
>>
>>
>>
>>
>> --
>> Bye,
>> Gor Gyolchanyan.
>>
>
> It's a Phobos function.
>
> --
> - Alex
>
--
Bye,
Gor Gyolchanyan.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20120515/6a2cb277/attachment.html>
More information about the Digitalmars-d
mailing list