I used to use gp2c when I used gp a lot (which has been for many
years, less now that Sage is around).  The advantages over C are like
the advantages of cython over python:  put in a very small amount of
extra work, and have both the ease of writing of an interpreted
language and the speed of a compiled one.

Sage already uses some of pari/gp's functionality in a few crucial
areas (algebraic number theory, some parts of algebra).  Where this is
done using gp and pexpect, I would expect that having the relevant gp
functions installed via gp2c would be an advantage.

There are quite a few people out there who have useful collections of
gp scripts (e.g. Fernando Rodrigues Villegas) and this might be a good
way of getting those into Sage.

These are just some thoughts;  in practice I think it rather likely
that gp diehards will continue to use it (and not use Sage) while
others will switch to Sage, to get a better user interface to pari's
functionality, and then will not need gp2c anyway.

John

2008/8/28 Carl Witty <[EMAIL PROTECTED]>:
>
> On Aug 27, 1:19 am, mabshoff <[EMAIL PROTECTED]> wrote:
>> Hi,
>>
>> at #258 Pablo De Napoli has posted an spkg for gp2c. It is tiny (about
>> 500kb) and is considered useful by many people. It is a tool to
>> translated pari code to C code that in turn can be linked to the pari
>> library. Since that is a rather old ticket that has been sitting
>> around it is now subject to the voting rules.
>>
>> The code works on Windows and as Pari is getting ported to MSVC gp2c
>> will also work.
>
> I suppose I'm +0, because I'm unsure whether the package will have
> enough users to justify its inclusion in Sage (as opposed to being an
> optional package).
>
> If people speak up to explain that this package would get a lot of
> use, then feel free to count this as a +1.
>
> Carl
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to