More evidence that memory safety is the future for programming languages
Atila Neves
atila.neves at gmail.com
Mon Mar 30 13:20:08 UTC 2020
On Monday, 30 March 2020 at 12:58:33 UTC, Dukc wrote:
> On Saturday, 28 March 2020 at 20:24:02 UTC, Walter Bright wrote:
>> [...]
>
> I have recently added a lot of unittests to my code. That
> confirmed me that as we all know, it is a mandatory to do if I
> even a remotely bug-free program is desired :). And that's in a
> program that already had no global state and used ranges,
> `final switch`es and `assert`s fairly much.
>
> [...]
It's easier to use asan with ldc. I did write an allocator to do
this before asan was available though:
https://github.com/atilaneves/test_allocator
More information about the Digitalmars-d
mailing list