• Advertisement
Sign in to follow this  
  • entries
    155
  • comments
    100
  • views
    94117

Boost

Sign in to follow this  

84 views

I'm fairly sure I will switch to Boost.Python for wrapping C and C++ extensions for Spineless. Boost.Python is much more actively developed than Pyrex, and supports C++. My only concern is that it could complicate the build process... but the decision hasn't been made yet, I'll review, test and benchmark it (and possibly other options) against Pyrex first, and figure how it would integrate to the Spineless setup script.

SWIG is definitely out, since it uses an additional Python layer for wrapping C++ classes, so it's much slower than other options.

Still no screenshots, sorry. I will give you a comb jelly instead:

Sign in to follow this  


2 Comments


Recommended Comments

It's funny, the PyOgre guys went just the other way. If I remember right, it was a matter of control. SWIG required more manual work than boost.python, but it allowed them to keep things more pythonic. Or something. You may want to leave a question in the PyOgre forums.

Just out of curiosity, what C++ stuff do you want to wrap?

About the fish, it is really pretty. Wonder if it could be turned into a mascot for Spineless, or something.

Share this comment


Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Advertisement