Sharding Phobos an alternative to sharding druntime

Richard (Rikki) Andrew Cattermole richard at cattermole.co.nz
Sun Jun 23 16:09:00 UTC 2024


On 24/06/2024 3:59 AM, Paolo Invernizzi wrote:
> On Saturday, 22 June 2024 at 10:28:10 UTC, Richard (Rikki) Andrew 
> Cattermole wrote:
>> On 22/06/2024 8:37 PM, Paolo Invernizzi wrote:
>>> Independent ... but with dependency?
>>> The impression is that everything in D-lanD is moving towards an 
>>> over-eng complexity ...
>>
>> No no.
>>
>> Its literally just the event loop shard depends upon base shard.
>>
>> Explicit dependencies, no accidental importing something that you 
>> shouldn't be able to without clear stated intention.
>>
>> This is a key goal of PhobosV3 work, was to break the 
>> interdependencies of modules.
> 
> I still think it's over-eng.
> 
> Indirect dependencies of module are direct dependencies of the imported 
> module, that means that the opinion is that the imported module is using 
> another module without a valid good reason. So, the only thing to do is 
> "just" (well, "just" ...) improve the quality of imported module itself, 
> cleaning it. Why is it necessary to have another abstraction, shard, in 
> a already complicated language like D?

What new language concept?

Its purely build system, what files get passed to the compiler and made 
available via ``-I``.

Everything is in place except the build system (and enabling of PAYG for 
linking).

It is no different than a dub sub package and explicitly setting the 
dependencies there.


More information about the Digitalmars-d mailing list