News for hackers. Stuff that matters.
Re:Writing GUI apps for Windows is painful by alok-g on Monday July 01, 2024 @08:53AM (#40845364)
Cool!

Does this also mean that one could put most of the closed source part into a DLL, make a shell executable that is open source and statically link LGPL code into the latter? This then would allow modifications to the LGPL code to be put in just by having the closed source DLL.

Re:Writing GUI apps for Windows is painful by singpolyma3 on Monday July 01, 2024 @08:31PM (#40852373)
I don't see why not. So long as the LGPL part can be modified and replaced, you're good.

I am not a lawyer.

Re:Writing GUI apps for Windows is painful by saagarjha on Monday July 01, 2024 @08:54PM (#40852526)
I mean, if you're willing to do that why not just dynamically link?
Re:Writing GUI apps for Windows is painful by alok-g on Tuesday July 02, 2024 @12:15PM (#40858052)
The OP article is saying that static linking leads to size reduction. That's why asking.
Re:Writing GUI apps for Windows is painful by saagarjha on Tuesday July 02, 2024 @05:47PM (#40860728)
You’re not getting a size reduction if you maintain a library boundary, though. What you’re doing is isomorphic to dynamically linking except the app code is in the library and the library code is in the main binary.
Re:Writing GUI apps for Windows is painful by alok-g on Tuesday July 02, 2024 @10:45PM (#40862304)
Ok. I understood. Thanks for explaining.