[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Re: BigNum optimizations

Yukihiro Matsumoto

3/18/2009 12:57:00 AM

Hi,

In message "Re: BigNum optimizations"
on Wed, 18 Mar 2009 04:11:34 +0900, "M. Edward (Ed) Borasky" <zznmeb@gmail.com> writes:

|It might be easier to link to a standard open-source multi-precision
|library that it would be to revise the one that's built into the Ruby
|interpreters. I haven't benchmarked these against each other, but the
|two I know about are GMP http://g... and CLN
|http://www.gin.... Both are GPL.

We cannot link pure GPLed library to Ruby for licensing issue. Last
time I checked none of these multi precision numeric libraries
satisfied our criteria (license, portability, etc). GMP (or CLN or
whatever) can be used via extension, and we are happy to offer help if
required.

matz.


1 Answer

znmeb

3/18/2009 1:01:00 AM

0

On Tue, Mar 17, 2009 at 5:56 PM, Yukihiro Matsumoto <matz@ruby-lang.org> wr=
ote:
> Hi,
>
> In message "Re: BigNum optimizations"
> =C2=A0 =C2=A0on Wed, 18 Mar 2009 04:11:34 +0900, "M. Edward (Ed) Borasky"=
<zznmeb@gmail.com> writes:
>
> |It might be easier to link to a standard open-source multi-precision
> |library that it would be to revise the one that's built into the Ruby
> |interpreters. I haven't benchmarked these against each other, but the
> |two I know about are GMP http://g... and CLN
> |http://www.gin.... Both are GPL.
>
> We cannot link pure GPLed library to Ruby for licensing issue. =C2=A0Last
> time I checked none of these multi precision numeric libraries
> satisfied our criteria (license, portability, etc). =C2=A0GMP (or CLN or
> whatever) can be used via extension, and we are happy to offer help if
> required.

I just checked ... GMP is LGPL. Would that work?
>
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0matz.
>
>
>



--=20
M. Edward (Ed) Borasky
http://www.linkedin.com/in...

I've never met a happy clam. In fact, most of them were pretty steamed.