On Tuesday, 22 May 2018 at 16:27:05 UTC, Eduard Staniloiu wrote:

Let the brainstorming begin!

Try to replace some of the basic software building blocks (memcpy, memcmp, malloc, free, realloc) that are currently leveraged from the platform's C library with counterparts, and provide a D API that uses `T[]` instead of void* and provides some of D's compile-time guarantees like safety, purity, and nothrow.

Implementation would take into consideration a platform's unique features such a SIMD.

Determine if there are any special features of D that can actually improve the performance of the highly optimized C implementations, perhaps leveraging information known at compile-time.

The project would provide an exemplary illustration of D's capabilities with benchmarks comparing it with C, and hopefully demonstrate that we don't need to have artificial dependencies on libc anymore.

Mike

Reply via email to