[OffTopic] A vulnerability postmortem on Network Security Services

H. S. Teoh hsteoh at quickfur.ath.cx
Thu Dec 2 17:36:18 UTC 2021

On Thu, Dec 02, 2021 at 05:11:09PM +0000, Paul Backus via Digitalmars-d wrote:
> On Thursday, 2 December 2021 at 16:44:42 UTC, Tejas wrote:
> > 
> > Wish the `@safe` by default DIP had passed :(
> > Any hope of reviving it and merging into master??
> Only if someone can (a) come up with a better solution for handling
> `extern(C)` functions, and (b) convince Walter to accept it.

The solution is very simple: extern(C), extern(C++), and extern anything
except extern(D) really, should be @system, and extern(D) (the default)
should be @safe.

The real issue is convincing Walter to accept this.


Elegant or ugly code as well as fine or rude sentences have something in common: they don't depend on the language. -- Luca De Vitis

More information about the Digitalmars-d mailing list