Difference: BoostPythonInfo ( vs. 1)

Revision 105 Dec 2013 - EricHazen

Line: 1 to 1
Added:
>
>
META TOPICPARENT name="AMC13SoftwareRestructuringTwiki"
Info from Arno, 2013-12-04:

Hi again!

Ok, here is further info about the Boost Python library: "The Boost Python Library is a framework for interfacing Python and C++. It allows you to quickly and seamlessly expose C++ classes functions and objects to Python, and vice-versa, using no special tools -- just your C++ compiler. It is designed to wrap C++ interfaces non-intrusively, so that you should not have to change the C++ code at all in order to wrap it, making Boost.Python ideal for exposing 3rd-party libraries to Python. The library's use of advanced metaprogramming techniques simplifies its syntax for users, so that wrapping code takes on the look of a kind of declarative interface definition language (IDL)."

If've gotten this from here: http://www.boost.org/doc/libs/1_55_0/libs/python/doc/tutorial/doc/html/index.html On this page is also a "hello world" example.

It looks like including this functionality is pretty simple and straight forward and does all we need. The MP7 classes doing the job one can find here: https://svnweb.cern.ch/trac/cactus/browser/trunk/cactusprojects/calol2/mp7/pycomp7/src/common/cactus_pycomp7.cpp

Writing the AMC13 tool in a python way is a good plan as we discussed. If we want to avoid the cryptic tool language which got some attraction by hardware hackers we could simply write small python functions doing the same job with menaingful names and standard settings which can be overwritten. It all depends how much functionality is accessible by the C++ objects we wrap by means of Boost Python.

What do you all think?

Cheers, Arno

-- EricHazen - 05 Dec 2013

 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback