Y
Hacker News
new
|
ask
|
show
|
jobs
by
secondcoming
26 days ago
But won't all those posix functions that take only `const char*` parameters need to be changed to be pointer/length?
1 comments
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.
link
It hasn't been much of an issue with decades of D code.