all OS functions should be "nothrow @trusted @nogc"

Kagamin via Digitalmars-d digitalmars-d at puremagic.com
Fri Jul 28 05:40:06 PDT 2017


On Wednesday, 26 July 2017 at 17:48:21 UTC, Walter Bright wrote:
> On 7/26/2017 6:29 AM, Kagamin wrote:
>> Should we still try to mark them safe at all?
>
> Marking ones that are safe with @safe is fine. OS APIs pretty 
> much never change.

New technologies and new features get introduced over time: 64 
bit, ipv6, bitmap_v5, generally bigger data everywhere, and api 
changes accordingly and incorporates new features, and takes 
increasingly bigger arguments over time.


More information about the Digitalmars-d mailing list