PhobosV3+ Fundamental Elements

Richard (Rikki) Andrew Cattermole richard at cattermole.co.nz
Fri Sep 18 18:33:41 UTC 2026


On 19/09/2026 6:27 AM, Sebastiaan Koppe wrote:
> On Friday, 18 September 2026 at 16:46:36 UTC, Richard (Rikki) Andrew 
> Cattermole wrote:
>> The libraries built on top of the base phobosv3 library, need to be 
>> shared libraries they are doing things like event loop that should not 
>> be available by default and are not going to work right if they were a 
>> static library.
>>
>> I don't want people who don't know what they are doing thinking that 
>> they should use a static library for easier shipping and then find 
>> themselves with core features not working.
> 
> What is the issue with static libs?

The primary issue is you lose ability to load shared libraries that 
depend upon it.

Which is an important feature of web servers, GUI toolkits and game engines.

If you know and understand these limitations, building it yourself with 
dub shouldn't be an issue.

Also we'll likely end up shipping libraries that would conflict if it 
were a static library. I have a couple of Luna's in mind as part of a 
GUI toolkit.



More information about the Digitalmars-d mailing list