memcpy() comparison: C, Rust, and D

Walter Bright via Digitalmars-d digitalmars-d at puremagic.com
Wed Feb 1 23:35:16 PST 2017


On 2/1/2017 10:11 PM, Tobias Müller wrote:
> Apart from that, the entire point of building a safe wrapper around an
> unsafe FFI function is to exploit additional knowledge that is not present
> in the C declaration, but only in documentation. It's not relevant if that
> wrapper is built into the language or a library function.

D won't make you add annotations. You can use Valgrind or gdb if you prefer.




More information about the Digitalmars-d mailing list