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 <xtzgzo...@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 >> >> <xtzgzo...@gmail.com <mailto:xtzgzo...@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 >> <xtzgzo...@gmail.com <mailto:xtzgzo...@gmail.com> >> <mailto:xtzgzo...@gmail.com <mailto:xtzgzo...@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.