memcpy() comparison: C, Rust, and D

Walter Bright via Digitalmars-d digitalmars-d at puremagic.com
Fri Feb 3 13:57:26 PST 2017


On 2/3/2017 4:10 AM, Atila Neves wrote:
> Right, but we're talking about finding memory corruption bugs _before_ they
> manifest themselves. As I mentioned in my other reply, if you have memory
> corruption bugs in common cross-platform code, valgrind and asan will (nearly
> always) catch them. You don't need to wait for weird effects that are hard to
> trace back. Run on Linux with both valgrind and asan and you'll be fine 99.9%*
> of the time.

You're right - if you've got a test suite that'll tickle it!



More information about the Digitalmars-d mailing list