Safe mode in D?

Paulo Pinto pjmlp at progtools.org
Sat Oct 19 00:02:26 PDT 2013


Am 19.10.2013 08:58, schrieb Max Samukha:
> On Saturday, 19 October 2013 at 06:24:00 UTC, Paulo Pinto wrote:
>
>>
>> There is nothing unsafe about this code snippet.
>>
>
> Sure. There is nothing unsafe in misusing __traits and extern(C) as well.

There is if the result is

- memory corruption
- memory leaks no longer visible to the GC
- program crash
- ...



More information about the Digitalmars-d mailing list