Sharding Phobos an alternative to sharding druntime

Richard (Rikki) Andrew Cattermole richard at cattermole.co.nz
Tue Jul 2 17:22:13 UTC 2024


On 03/07/2024 4:49 AM, Quirin Schroll wrote:
> On Friday, 21 June 2024 at 16:39:43 UTC, Richard (Rikki) Andrew 
> Cattermole wrote:
>> We've had a meeting to discuss splitting up druntime a bit, although 
>> we got slightly off track during it.
>>
>> As part of it, it was suggested by Steven that instead of sharding 
>> druntime, we should shard phobos, so here is my proposal.
> 
> Why “instead”? If I understood correctly, sharding DRuntime would be 
> good, so why not both? Sure, it’s more work, but it should also provide 
> value, right?

Sharding druntime is about giving a place to call home for things like 
an event loop or curl as a work around to having phobos be import only.

It is not really for splitting the compiler hooks out, while it does 
come into it, its not the same bit of design work.

Hence why I used "instead" as it accurately reflects how we got here.


More information about the Digitalmars-d mailing list