Discussion Thread: DIP 1036--String Interpolation Tuple Literals--Community Review Round 2

Jesse Phillips Jesse.K.Phillips+D at gmail.com
Thu Feb 4 15:49:47 UTC 2021

On Thursday, 28 January 2021 at 06:12:14 UTC, Walter Bright wrote:
> It appears to have abandoned being usable with printf?

After reading through the discussion, would it be more prudent to 
request that it can be used with printf and @nogc, even if an 
additional template is required to translate?

D has created a focus on working well without a GC. So it would 
make sense that new features would be aligned with that concept.

Whereas old language features can both remain using GC and not 
supporting printf.

import std;
import core.stdc.stdio;

void main()

     auto W = "world" ;
     printf(toStringz("Hello " ~ W ~ " D"));

More information about the Digitalmars-d mailing list