D not considered memory safe
Timon Gehr
timon.gehr at gmx.ch
Sat Jul 20 15:55:00 UTC 2024
On 7/19/24 20:06, Walter Bright wrote:
> On 7/11/2024 3:09 AM, Timon Gehr wrote:
>> If your point is actually that _I_ am in some way the one proposing
>> layout mismatches, well I am not. You would be misrepresenting my
>> point, utterly and absolutely.
>
> Then I apologize, for I thought that was your proposal.
>
My proposal has been to check for bitfield layout best practices by
default, to the point of maximum portability.
Explicit `extern(C)` would be required to turn the checks off.
I.e., compatible layouts, but D would be more sane.
More information about the Digitalmars-d
mailing list