Hacker News new | ask | show | jobs
by WalterBright 26 days ago
No. For string literals, they already have a 0 appended, so no problem. For others, you'll need to malloc/copy/free.

It hasn't been much of an issue with decades of D code.