DIP 1027---String Interpolation---Format Assessment

Adam D. Ruppe destructionator at gmail.com
Mon Feb 24 23:10:34 UTC 2020


On Monday, 24 February 2020 at 21:41:22 UTC, aliak wrote:
> Does that mean no betterC support if it's in druntime?

It would actually still work there because there is no actual 
code to link, just a compile-time definition to look up.

For example, the name `string` itself is a druntime definition, 
but it still works in betterC because it does not link anything 
at run time. This is very similar.

There is a known bug 
<https://issues.dlang.org/show_bug.cgi?id=19268> with betterC not 
allowing CTFE operations though, which imposes some unnecessary 
limitations, but we could and should fix that separately.

However, even with that bug, this proposal's i"" strings still 
partially work in betterC. And it will all work (except for the 
idup function, for obvious reasons) once that bug is fixed.


More information about the Digitalmars-d-announce mailing list