Simplification of @trusted

Paulo Pinto pjmlp at progtools.org
Thu Jun 17 11:51:03 UTC 2021


On Thursday, 17 June 2021 at 11:16:47 UTC, Ola Fosheim Grøstad 
wrote:
> On Thursday, 17 June 2021 at 10:57:01 UTC, ag0aep6g wrote:
>...
>> True system level programming is going to be @system in D. I 
>> don't think that's much of a surprise.
>
> That makes Rust a much better option for people who cares about 
> safety. That is a problem.

Actually that is the same road taken by Rust, all interop with C 
libraries is considered unsafe.

You can enjoy endless amount of unsafe on Microsoft code samples 
for Windows coding with Rust and Win32 APIs.

https://github.com/microsoft/windows-rs/tree/master/examples


More information about the Digitalmars-d mailing list