Does D have too many features?
Lars T. Kyllingstad
public at kyllingen.net
Tue May 8 02:27:26 PDT 2012
On Thursday, 3 May 2012 at 22:57:02 UTC, Walter Bright wrote:
> On 5/3/2012 8:13 AM, Don Clugston wrote:
>> Well, they are also used in druntime, in core.stdc.math
>> BTW I *hate* that module, I don't know why it exists. Even
>> worse, it seems to be
>> growing -- people are adding more things to it.
>
> It's there simply because all the Standard C headers should be
> represented. It should not get anything that is not in Standard
> C. Ditto for all the other stuff in core.stdc.
>
> It's there to make converting C code to D code easier.
I agree that this is a good enough reason in itself. On top of
that, the ANSI C stdlib is a subset of the POSIX API, which is
*very* useful to have in druntime. Phobos (and druntime itself,
of course), uses it for everything platform-specific.
-Lars
More information about the Digitalmars-d
mailing list