On 3/9/07, David Harvey <[EMAIL PROTECTED]> wrote:
> > I realize you are at the AWS, so I don't expect an immediate reply.
> > Indeed, I
> > need to work on some other things besides SAGE.
>
> My understanding is that when the NTL wrapper was first written, SAGE
> developers did not yet know how to wrap C++ code in pyrex. That's why
> there are so many unnecessary layers. It should be possible to call NTL
> functions and work with NTL objects directly from pyrex. That's a
> biggish project though.
That's true. And I think it might not even of been possible.
It would be a biggish project maybe to redo the NTL interface, though it
can't be that bad, since I think I wrote the ntl interface from scratch in
less than 2 days. Since Joel just wants to use a little bit of NTL directly
from SAGEX, he doesn't have to redo the whole NTL interface;
he can start small. Joel -- by far the things to look at for a model of
how to wrap C++ directly from SageX are:
(1) the files ring/*givaro* that Martin Albrecht wrote
(2) the slides from Martin's SAGE Days 3 talk.
William
--~--~---------~--~----~------------~-------~--~----~
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://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~----------~----~----~----~------~----~------~--~---