dip1000 and preview in combine to cause extra safety errors
Paulo Pinto
pjmlp at progtools.org
Thu Jun 9 07:16:01 UTC 2022
On Wednesday, 8 June 2022 at 23:24:35 UTC, Walter Bright wrote:
> On 6/8/2022 9:22 AM, Steven Schveighoffer wrote:
>> The reality is that people are (mostly) only dealing with the
>> existing implementation, until it stops working. But to
>> silently break it, and silently break it with *memory
>> corruption* does not seem an appropriate penalty.
>
> The point of @system code is people can do whatever they want.
>
> The answer is to make @safe the default. But that DIP was
> rejected.
Because contrary to Ada, .NET, Rust, Go, Swift,.... it considered
calling into C "safe".
More information about the Digitalmars-d
mailing list