core.traits?
Steven Schveighoffer
schveiguy at gmail.com
Tue Jan 8 21:26:51 UTC 2019
On 1/8/19 4:23 PM, kinke wrote:
> On Tuesday, 8 January 2019 at 01:44:08 UTC, Mike Franklin wrote:
>> Anyway, my suggestion is to create a new library separate from
>> druntime and phobos that has no dependencies whatsoever (no libc, no
>> libstdc++, no OS dependencies, no druntime dependency, etc.). I mean
>> it; **no dependencies**. Not even object.d. The only thing it should
>> require is a D compiler.
>>
>> That library can then be imported by druntime, phobos, betterC builds,
>> or even the compiler itself. It will take strict enforcement of the
>> "no dependency" rule and good judgment to keep the scope from
>> ballooning, but it may be a good place for things like `traits`,
>> `meta` and others.
>
> I also feel the need for at least 1 another base library. My focus is on
> the fundamental compiler support functions, like
> initializing/comparing/copying arrays and general associative arrays
> support, as they are fundamental to the language and their compilers
> (not talking about TypeInfos, ModuleInfos, Object etc.).
This is self-contradictory, as AA's require TypeInfo.
Though I agree with the goal. It's just not a "now" goal, we first need
to fix these components so they DON'T depend on such things as TypeInfo.
-Steve
More information about the Digitalmars-d
mailing list