Does D have too many features?

H. S. Teoh hsteoh at quickfur.ath.cx
Sun Apr 29 08:30:21 PDT 2012


On Sun, Apr 29, 2012 at 10:28:47AM +0200, SomeDude wrote:
> On Sunday, 29 April 2012 at 08:13:53 UTC, Nick Sabalausky wrote:
> >
> >There will still be sugar in the compiler so they appear to be
> >builtins.  When the switch happens, I'm sure it'll be transparent -
> >average users probably won't even notice. It's just that "behind the
> >scenes" their implementation will move from DMD to Druntime.
> 
> Hmmm, sounds nice, but bolting the language with the standard library
> is very risky (and a rather bad idea imho). Unless there is a very
> lightweight minimalistic core for Phobos (something which I advocate),
> you bolt a heavyweight library to your language, and that's not good.
[...]

Please note that the AA implementation will be moving into druntime, NOT
phobos. The compiler already depends on a bunch of stuff in druntime
(the GC being a prime example, and the Object class being another). And
every time you write 'typeid'? That's druntime code too.


T

-- 
It is widely believed that reinventing the wheel is a waste of time; but
I disagree: without wheel reinventers, we would be still be stuck with
wooden horse-cart wheels.


More information about the Digitalmars-d mailing list