> After looking at the size of boost, it doesn't look like rewriting the
> C++/python wrapper of PolyBoRi would be necessary. I think it is also
> worth the trouble of including the boost-python interface, since it
> provides a very elegant and easy method of interfacing C++ [1]. I tried
> googling for ways of using cython with C++ and the code that came up
> was not very pleasant.

I think we will still have to use Cython here. The reason is that we want 
BooleanPolynomial and BooleanRing to fit into SAGE's inheritance tree. Can 
we -- without going through Python -- inherit from SageObject which is 
written in Cython using Boost? 

I think in our scenario PolyBoRi would be wrapped twice: 

a) an interface to make the current highlevel code of PolyBori work (either 
replicated via Cython or by using Boost)

b) an interface which plays nice in the context of SAGE.

Martin

-- 
name: Martin Albrecht
_pgp: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x8EF0DC99
_www: http://www.informatik.uni-bremen.de/~malb
_jab: [EMAIL PROTECTED]


--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
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/
-~----------~----~----~----~------~----~------~--~---

Reply via email to