Google Summer of Code project: GMP bindings for Parrot

Sam Rawlins sam.rawlins at gmail.com
Wed May 18 18:10:43 CEST 2011


On Tue, May 17, 2011 at 1:25 AM, Daniele Varrazzo <
daniele.varrazzo at gmail.com> wrote:

> On Mon, May 16, 2011 at 8:55 PM, Bob Kuo <bobjkuo at gmail.com> wrote:
>
> > I was wondering what version(s) of GMP should I support?  I currently
> > have 5.0.1 on Mac OS X 10.6 but from what I understand the API is
> > relatively stable and backwards compatible.
>
> For what I've seen writing the PostgreSQL bindings, 4.2, 4.3 and 5.0
> have identical interface (I've bound pretty much all the public
> functions). 4.1 is only missing rootrem(), combit() and randint_mt(),
> so it was easy to support as well with minimal use of ifdef.
>

I agree. I maintain GMP bindings for Ruby and I have no trouble supporting
GMP 4.3.x and 5.0.x all in one binding. The much trickier path was the
bindings for MPFR which changed a lot between 2.x and 3.x (mostly in
rounding modes and a few new functions, I think).

As a more straightforward answer: The GMP team just recently released GMP
5.0.2 and declared it to be considered the current stable version of GMP.

>
> -- Daniele
> _______________________________________________
> gmp-discuss mailing list
> gmp-discuss at gmplib.org
> https://gmplib.org/mailman/listinfo/gmp-discuss
>



-- 
Sam Rawlins


More information about the gmp-discuss mailing list