Does D have too many features?
SomeDude
lovelydear at mailmetrash.com
Sat Apr 28 15:17:34 PDT 2012
On Saturday, 28 April 2012 at 22:04:26 UTC, H. S. Teoh wrote:
> On Sat, Apr 28, 2012 at 11:57:46PM +0200, SomeDude wrote:
>>
>> What happens the day the language is actually fit for embedded
>> programming, and you don't want to have to link against Phobos
>> because it's too big ?
>
> We need to fix things so that using a single feature in Phobos
> will not
> pull in the entire library. That's an implementation issue, not
> a
> language issue.
>
>
> T
It is, but it's actually a very difficult implementation issue.
And what I currently see is, many Phobos bugs are simply not
corrected, while DMD bugs actually are. It seems that noone but
Andrei is working on Phobos. And he is only part time on it.
Also, ranges are cool, but they are big. And not everyone wants
to have to huge ranges when they can use simpler, and arguably
faster arrays.
I'm not very satisfied with the current state of Phobos. Being
the standard library, it should *work*. Yet it seems to me some
things simply don't work at all. The new regex, for instance,
I've yet to compile anything with it. The author argues the CTFE
is broken, but even the runtime regex doesn't compile. That's not
acceptable in a standard library.
So before thinking about removing these little features from the
core language, thoses issues with Phobos must first be solved.
More information about the Digitalmars-d
mailing list