DerelictOrg / DerelictSDL2

Dynamic bindings to SDL2 and its satellite libraries for the D Programming Language.
115 stars 24 forks source link

Why runtime linking? Ability of loadtime linking and static link with sdl. #32

Closed Temtaime closed 9 years ago

Temtaime commented 9 years ago

Subj.

mdparker commented 9 years ago

Why not?

Temtaime commented 9 years ago

For instance it makes ugly to static linking of runtime when one uses a number of sdl dlls. Also it forbids creating application of one. exe file and distributing of it.

mdparker commented 9 years ago

I wasn't really asking a question :) My point was that I don't see any reason to change. I understand the tradeoffs between static linking and runtime loading. I prefer runtime loading. Derelict has been a dynamic binding (runtime loader) for 10 years. I'm not going to change it today. If you need to statically link, look elsewhere.

Temtaime commented 9 years ago

Ok, thanks for a reply :) Regards.