Scripting C++ -- Boost.Python vs CORBA vs ???

Craig Maloney cmaloney at physics.ucsb.edu
Tue Feb 19 11:57:08 EST 2002


Hi all.

I'm doing some scientific computing and have
amassed a moderate set of classes.  Due to the
heavy computational demands, I don't think I
can justify rewriting everything in an interperated
language; nice as that would be now that I'm
playing around with what I've created.

I'm in a situation now where I've written about
a dozen of quickie, throw away, utility routines
that I call from the command line, and in essence,
BASH has become my scripting environment.

Unfortunately, the number of throw-away routines
is exploding, and I feel like I'm loosing the advantage
of having constructed a nice set of classes with
which to play.

I would, of course, like to have some sort of scripted
environment (e.g. Python) in which to "play"
with my objects.

That said, I'd like to solicit opinions as to the relative
merits of the various possible approaches.

I'm making essential use of templates and polymorphism.

I have no experience with Boost.Python, but from what I
understand, it would not involve writing wrapper definitions
(ala SWIG or IDL), right?  Are there other options?


Or should I just wait for .NET/mono to come out? ;)



Cheers,
Craig




More information about the Python-list mailing list