On Wednesday, 18 November 2015 at 11:25:55 UTC, Wild wrote:
On Wednesday, 18 November 2015 at 11:20:58 UTC, Rikki Cattermole wrote:
Will you being going down the path of libc/posix compat layer or straight up D all the way?

I want to go D all the way.
But if I have to get a libc, I will try and implement one in D.

it is possible to implement libC on top of your code standard library in D so that D-only applications don't rely on legacy C code.

Newlib is a portable libC implementation that is relatively easy (the linker errors might take you longer to sort than the code :) to get going.

initially we implemented its '13 system calls' in C:

but we eventually moved most of that code into D:

obviously most of the details will be different for your OS.

Reply via email to