About making Phobos @safe

Seb seb at wilzba.ch
Thu Mar 22 19:14:06 UTC 2018


Making all high-level functions of Phobos @safe
-----------------------------------------------

There's are still some functions in Phobos which could be @safe, 
but aren't.
One of the high-level goals of 2018 [1] is:

> to enable large-scale uses of D with safety guarantees.

So what's missing regarding Phobos?

GH project: https://github.com/dlang/phobos/projects/5
Bugzilla issue: https://issues.dlang.org/show_bug.cgi?id=18110

or old-school with grep "@system unittest"

DIP1000 & Phobos
----------------

Thanks to a lot of work of carblue, there's now a special 
dip1000.mak file, s.t. the last modules can be gradually tackled 
without regressions:

https://github.com/dlang/phobos/blob/master/dip1000.mak

GH project: https://github.com/dlang/phobos/projects/6


Meh, this is taking too long
----------------------------

So if it's still cold in your country, why not take 15 minutes 
and help in this crowd-sourced campaign to make Phobos @safer?
If you don't like @safety, there are a few other currently 
maintained GitHub projects [2].

[1] https://wiki.dlang.org/Vision/2018H1
[2] https://github.com/dlang/phobos/projects


More information about the Digitalmars-d mailing list