ImportC and nothrow/@nogc?
Bruce Carneal
bcarneal at gmail.com
Tue Aug 27 23:28:04 UTC 2024
On Tuesday, 27 August 2024 at 22:22:12 UTC, Walter Bright wrote:
> On 8/26/2024 10:26 AM, Steven Schveighoffer wrote:
>> Does this actually interact with D code properly? Like, does
>> this work?
>
...
>
> I remember when you were adamantly against C code defaulting to
> @trusted. Assuming nothrow and @nogc is in the same category.
>
WRT @trusted by default, lets not go there again, please. It was
a heated and extremely lopsided argument last time around and
things have not gotten better for the contrarian viewpoint since.
> I agree this is a problem.
Yes. I like the .di solution proposed for nothrow/@nogc . I used
.di a while back to "port" cuda.h , but maybe there's something
even better.
More information about the Digitalmars-d
mailing list