Shouldn't safety be the default.
Paulo Pinto
pjmlp at progtools.org
Tue Dec 26 14:46:45 UTC 2023
On Tuesday, 26 December 2023 at 12:39:46 UTC, bachmeier wrote:
> On Tuesday, 26 December 2023 at 12:00:13 UTC, Sebastiaan Koppe
> wrote:
>
>> [...]
>
> The earlier proposal would have killed D. I no longer recall
> the details but it would have been miserable to interoperate
> with C code under that proposal. And without C
> interoperability, D is dead.
>
> All that's needed is a compiler switch rather than breaking
> everyone's code. Or an easy way to shut it off. Neither of
> those were on the table.
Rust, Go, Swift, C# are doing just fine with the requirement that
C interop must be explicitly marked as unsafe.
More information about the Digitalmars-d
mailing list