Replacing C's memcpy with a D implementation

Nicholas Wilson iamthewilsonator at hotmail.com
Sun Jun 10 13:05:33 UTC 2018


On Sunday, 10 June 2018 at 12:49:31 UTC, Mike Franklin wrote:
> I'm exploring the possibility of implementing some of the basic 
> software building blocks (memcpy, memcmp, memmove, etc...) that 
> D utilizes from the C library with D implementations.  There 
> are many reasons to do this, one of which is to leverage 
> information available at compile-time and in D's type system 
> (type sizes, alignment, etc...) in order to optimize the 
> implementation of these functions, and allow them to be used 
> from @safe code.
>
> [...]

what compiler? what flags?


More information about the Digitalmars-d mailing list