PhobosV3+ Fundamental Elements
monkyyy
crazymonkyyy at gmail.com
Fri Sep 18 21:04:59 UTC 2026
On Friday, 18 September 2026 at 19:09:38 UTC, libxmoc wrote:
> On Friday, 18 September 2026 at 18:33:41 UTC, Richard (Rikki)
> Andrew Cattermole wrote:
>> 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:
>>>> [...]
>>>
>>> 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.
>
> Just ship source code, I see 0 valid reasons to go with shared
> libraries.
>
> Let's not repeat dotnet's mistake of shipping programs with
> bazillions of dll's.
>
> They learned it the hard way when Go started to eat their
> lunch. They now brag about single static AOT executables in
> their marketing ;).
ssl and malloc should probably still be shared
Im a little annoyed that raylib is shared but like opengl should
be shared and unfortunately the gpu drivers in there infinite
wisdom forces even worse trade offs on us
More information about the Digitalmars-d
mailing list