On 14/12/2020 9:56 AM, kdevel wrote:
On Sunday, 13 December 2020 at 20:25:06 UTC, KapyoniK wrote:Is it really a bug ? \0 truncates the string, as mentionned on this page :https://en.wikipedia.org/wiki/Null-terminated_stringI thought the D runtime is written in D (with D strings)?!?
String literals are null terminated by the compiler. It is very useful for communicating with C.