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