www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - GC-less string formatting

reply Per =?UTF-8?B?Tm9yZGzDtnc=?= <per.nordlow gmail.com> writes:
If I want GC-free string formatting and outputting to 
stdout/stderr what packages should I prefer at code.dlang.org?
Oct 19 2020
next sibling parent rikki cattermole <rikki cattermole.co.nz> writes:
https://dlang.org/phobos/std_format.html#formattedWrite

Uses GC for exception (so cannot be  nogc yet), but otherwise it should 
be GC free.
Oct 19 2020
prev sibling parent drug <drug2004 bk.ru> writes:
On 10/20/20 9:42 AM, Per Nordlöw wrote:
 If I want GC-free string formatting and outputting to stdout/stderr what 
 packages should I prefer at code.dlang.org?
Probably https://code.dlang.org/packages/nogc
Oct 20 2020