On 23/05/2018 5:01 PM, Mike Franklin wrote:
On Wednesday, 23 May 2018 at 04:58:17 UTC, rikki cattermole wrote:
In essence a -betterC libc with wrapper functions for extern(D).
I'd prefer to not even need to link in libc. I mean rewrite memcpy,
memcmp, malloc, free, and realloc in D. Once those building blocks
exist in D, everything becomes possible without libc.
Mike
What I meant is that the student(s) would write a portion of a libc from
scratch. Just using -betterC D.
So that it is drop in, in other -betterC code :)
Memory management is only one aspect possible.