@trusted attribute should be replaced with @trusted blocks

H. S. Teoh hsteoh at quickfur.ath.cx
Wed Jan 15 23:26:01 UTC 2020

On Wed, Jan 15, 2020 at 11:01:57PM +0000, Joseph Rushton Wakeling via Digitalmars-d wrote:
> On Wednesday, 15 January 2020 at 21:17:38 UTC, IGotD- wrote:
> > This is why I think it should be removed. In my world there is no
> > "trust the human".
> Presumably your programs are therefore self-crafted binary, since you
> couldn't possibly trust the humans who wrote the standard library to
> write valid code, or the compiler writers to translate it correctly
> into machine instructions? :-)

And you also built your own hardware, because you cannot trust the
hardware manufacturers that they didn't have a bug in silicon that
causes memory corruption under rare circumstances, in spite of your
correctly-coded instructions. Or they didn't put a trapdoor in silicon
that allows unknown 3rd parties from some remote server to gain ring 0
access to your CPU.


My program has no bugs! Only undocumented features...

More information about the Digitalmars-d mailing list