PhobosV3+ Fundamental Elements

libxmoc libxmoc at gmail.com
Mon Aug 31 19:22:30 UTC 2026


On Monday, 31 August 2026 at 13:16:54 UTC, Richard (Rikki) Andrew 
Cattermole wrote:
> On 01/09/2026 12:28 AM, Alexandru Ermicioi wrote:
>> On Sunday, 30 August 2026 at 17:58:35 UTC, libxmoc wrote:
>>> I personally think D doesn't need phobos at all, it would be 
>>> better split and proposed as dub packages, leaving just a 
>>> base D that's good enough to get going and port to other 
>>> platforms.
>> 
>> It would still be good if they can be shipped as part of 
>> compiler install or as extra packages in os repositories, for 
>> scripting convenience.
>> 
>> Then on bigger project, they could be overriden with explicit 
>> dub versions.
>
> Yes, most of PhobosV3 functionality is going to have to be 
> split out into separate shared libraries built on top of the 
> default linked against library.
>
> For that we need a bundle system to be able to handle the 
> linking.
> In doing so we'd be shipping it all.
>
> If you want to use dub to pick different versions you'd be free 
> to since all this optional stuff is opt-in.

shared libraries? Why? This is IMO unnecessary complexity.

They should be shared as source. This will force maintainers to 
have good hygiene and keep build time quick.


More information about the Digitalmars-d mailing list