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

Grander via Digitalmars-d digitalmars-d at puremagic.com
Fri Jul 28 05:52:25 PDT 2017


On Friday, 28 July 2017 at 12:40:06 UTC, Kagamin wrote:
> 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.

most of them don't lead to "real" API changes, they often only 
add new functions/overloads/whatever


More information about the Digitalmars-d mailing list