Encouraging preliminary results implementing memcpy in D

Steven Schveighoffer schveiguy at yahoo.com
Wed Jun 13 16:21:53 UTC 2018


On 6/13/18 2:46 AM, Mike Franklin wrote:
> I had a little fun today kicking the crap out of C's memcpy with a D 
> implementation.
> 
> https://github.com/JinShil/memcpyD
> 
> Request for help: I don't have a Linux system running on real hardware 
> at this time, nor do I have a wide range of platforms and machines to 
> test with.  If you'd like to help me with this potentially foolish 
> endeavor, please run the program on your hardware and send me the results.

Just FYI, Linux results on a VM are still valid -- many people 
(including myself) only use Linux on a VM, so even though it's not a 
definitive win against glibc memcpy on Linux, the end result is, it's 
still faster for those users :)

I won't add much, since I'm using a Mac, and those numbers have already 
been posted.

But I wanted to say don't discount those findings off-hand.

-Steve


More information about the Digitalmars-d-announce mailing list