From the D Blog -- Interfacing D with C: Strings Part One

Mike Parker aldacron at gmail.com
Mon May 24 15:12:23 UTC 2021


On Monday, 24 May 2021 at 15:10:46 UTC, sighoya wrote:

>
>> There are at least two more posts worth of information to go 
>> into on this topic, but everything in this post is enough to 
>> cover many use cases of D to C string interop.
>
> Which posts did you think of?

I describe them in the Conclusion:

> In Part Two, we’ll look at how mutability, immutability, and 
> constness come into the picture, how to avoid a potential 
> problem spot that can arise when passing GC-allocated D strings 
> to C, and how to get D strings from C strings. We’ll save 
> encoding for Part Three.



More information about the Digitalmars-d-announce mailing list