Bad array indexing is considered deadly
John Colvin via Digitalmars-d
digitalmars-d at puremagic.com
Thu Jun 1 07:40:59 PDT 2017
On Thursday, 1 June 2017 at 14:21:35 UTC, Stanislav Blinov wrote:
> On Thursday, 1 June 2017 at 14:10:21 UTC, John Colvin wrote:
>
>> I would be interested to see ideas of how to implement some
>> sort of logical sandboxing in D. Perhaps if one calls a
>> strongly pure @safe function, there is no way it can mess up
>> shared state,
>
> Oh yes, there is a way:
> http://forum.dlang.org/post/psdamamjecdwfeiuvqsz@forum.dlang.org
Sure, @safe has some holes as it currently stands.
More information about the Digitalmars-d
mailing list