Safe and C++
Dukc
ajieskola at gmail.com
Wed Nov 27 15:29:25 UTC 2019
On Wednesday, 27 November 2019 at 09:20:14 UTC, Ola Fosheim
Grøstad wrote:
> My understanding is that the current two big goals for D is:
>
> 1. To have 100% memory safe code as the default.
>
> 2. Being able to use large C++ frameworks.
>
>
> So, these would be two major features, but how are they going
> to interoperate?
In the same way as C interfacing works with @safe (or @live). We
annotate the C function header properly. When that is not enough,
we make a @trusted wrapper that guards against misuse. Of course
the impementation of the wrapper is still vurnerable.
More information about the Digitalmars-d
mailing list