libc dependency

Honey via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Jun 19 23:33:25 PDT 2017


On Tuesday, 20 June 2017 at 05:19:21 UTC, Cym13 wrote:
> The issue with that is that you assume:
>
> 1) that a complete libc replacement can be created from scratch
> 2) that a correct libc replacement can be created from scratch
> 3) that a better libc replacement can be created from scratch
> 4) that this replacement can be maintained for years to come on 
> all plateforms

For things like core.stdc it would be insane not to depend on 
libc. In fact, it would be strange if we did not call into libc, 
here.

But does this really mean that depending on libc must be the 
default for everyone?

I doubt that we would have to replace every function provided by 
libc. We only have to provide alternatives for what we use. Other 
than that I share your scepsis.

I am not saying that we should actually drop the dependency. I 
was just curious to learn something.


More information about the Digitalmars-d-learn mailing list