unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
* bug#14101: Gcd from gnulib?
@ 2013-03-31  0:08 Cojocaru Alexandru
  2013-03-31  8:29 ` Mark H Weaver
  0 siblings, 1 reply; 4+ messages in thread
From: Cojocaru Alexandru @ 2013-03-31  0:08 UTC (permalink / raw)
  To: 14101

Hi,
what about using the gcd module from gnulib?
See: https://www.gnu.org/software/gnulib/MODULES.html#module=gcd

Best regards,
Cojocaru Alexandru





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#14101: Gcd from gnulib?
  2013-03-31  0:08 bug#14101: Gcd from gnulib? Cojocaru Alexandru
@ 2013-03-31  8:29 ` Mark H Weaver
  2013-03-31 22:27   ` Ludovic Courtès
  0 siblings, 1 reply; 4+ messages in thread
From: Mark H Weaver @ 2013-03-31  8:29 UTC (permalink / raw)
  To: Cojocaru Alexandru; +Cc: 14101-done

Cojocaru Alexandru <xojoc@gmx.com> 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+.

      Mark





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#14101: Gcd from gnulib?
  2013-03-31  8:29 ` Mark H Weaver
@ 2013-03-31 22:27   ` Ludovic Courtès
  2013-04-01  0:52     ` Mark H Weaver
  0 siblings, 1 reply; 4+ messages in thread
From: Ludovic Courtès @ 2013-03-31 22:27 UTC (permalink / raw)
  To: Mark H Weaver; +Cc: Cojocaru Alexandru, 14101-done

Mark H Weaver <mhw@netris.org> skribis:

> Cojocaru Alexandru <xojoc@gmx.com> 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?

Ludo’.





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#14101: Gcd from gnulib?
  2013-03-31 22:27   ` Ludovic Courtès
@ 2013-04-01  0:52     ` Mark H Weaver
  0 siblings, 0 replies; 4+ messages in thread
From: Mark H Weaver @ 2013-04-01  0:52 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: Cojocaru Alexandru, 14101-done

ludo@gnu.org (Ludovic Courtès) writes:

> Mark H Weaver <mhw@netris.org> skribis:
>
>> Cojocaru Alexandru <xojoc@gmx.com> 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.

   Regards,
     Mark





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-04-01  0:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-03-31  0:08 bug#14101: Gcd from gnulib? Cojocaru Alexandru
2013-03-31  8:29 ` Mark H Weaver
2013-03-31 22:27   ` Ludovic Courtès
2013-04-01  0:52     ` Mark H Weaver

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).