vigna / sux

Succinct data structures in C/C++
Other
82 stars 17 forks source link

Licensing #4

Closed pombredanne closed 4 years ago

pombredanne commented 4 years ago

Hi: Thank you for this! There is one thing though is that the in C++ your templates would always be statically linked with the code that uses it. And therefore my understanding is that the LGPL requirements would extend to the calling code (in contrast with Java where the linking is different) Have you consider to use the GPL with a runtime exception instead like this is done in libstdc++ rather than an LGPL license? See https://gcc.gnu.org/onlinedocs/libstdc++/faq.html#faq.license.what and https://gcc.gnu.org/onlinedocs/libstdc++/manual/license.html

Thank you for your kind consideration!

vigna commented 4 years ago

On 11 Dec 2019, at 09:03, Philippe Ombredanne notifications@github.com wrote:

Hi: Thank you for this! There is one thing though is that the in C++ your templates would always be statically linked with the code that uses it. And therefore my understanding is that the LGPL requirements would extend to the calling code (in contrast with Java where the linking is different) Have you consider to use the GPL with a runtime exception instead like this is done in libstdc++ rather than an LGPL license? See https://gcc.gnu.org/onlinedocs/libstdc++/faq.html#faq.license.what and https://gcc.gnu.org/onlinedocs/libstdc++/manual/license.html

Thank you for your kind consideration!

That's entirely doable. Let me have a look...

Ciao,

                seba
pombredanne commented 4 years ago

You rock. Thank you ++ For the posterity this has been addressed in https://github.com/vigna/sux/commit/9faa34350128657e2739e68f1f9d0e101fcbf9e0