[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#14101: Gcd from gnulib?

From: Mark H Weaver
Subject: bug#14101: Gcd from gnulib?
Date: Sun, 31 Mar 2013 20:52:07 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

address@hidden (Ludovic Courtès) writes:

> Mark H Weaver <address@hidden> skribis:
>> Cojocaru Alexandru <address@hidden> writes:
>>> what about using the gcd module from gnulib?
>>> See: https://www.gnu.org/software/gnulib/MODULES.html#module=gcd
>> That module is under the GPLv3+, and we must keep Guile under LGPLv3+.
> Gnulib modules can be relicensed when a GNU project demands it.  So if
> there’s a technical or maintenance gain, we could ask for it.  WDYT?

There are other problems besides the license.  It would have to be
customized to use a different integer type (scm_t_inum).  I'd want to be
able to #include it directly into numbers.c as a static function to
avoid a slow function call through the shared-library PLT.  Also, it's
not particularly well optimized.  It lacks the nice tricks that Niels
recently told me about that are used in GMP.

If these issues were addressed, I'd be open to using it, but for such a
small function, it hardly seems worth the hassle.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]