PYTHON AND C++

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • satish k.chimakurthi

    PYTHON AND C++

    Hello all,

    I am trying to specify an SIDL (Scientific Interface Definition Language)
    interface to a sophisticated C++ code that I use in my project. I intend to
    run the code from the python scripting environment. I am trying to use a
    software by name BABEL (http://www.llnl.gov/CASC/components/babel.html)
    to generate interfaces for libraries or components specified in the SIDL
    files.

    My ultimate intention is to access the C++ code from python. I have looked
    into automatic and semi-automatic interface generators like SWIG,
    BOOST.PYTHON and ended up doing nothing useful and so adopted BABEL

    Can someone advise me if my approach is the right one ?? Did someone do the
    same kind of stuff and thinks that there is an easier way ??


    Thanks for your time and help in advance,

    With Best Regards,
    SATISH


    SATISH K.CHIMAKURTHI
    GRAD. RESEARCH ASSISTANT
    UNIVERSITY OF KENTUCKY
    LEXINGTON
    KENTUCKY STATE


  • John J. Lee

    #2
    Re: PYTHON AND C++

    "satish k.chimakurthi" <[email protected] ky.edu> writes:
    [color=blue]
    > I am trying to specify an SIDL (Scientific Interface Definition Language)
    > interface to a sophisticated C++ code that I use in my project.[/color]

    Is *that* your goal...

    [color=blue]
    > I intend to
    > run the code from the python scripting environment.[/color]

    ....or *that*?

    [...][color=blue]
    > My ultimate intention is to access the C++ code from python. I have looked
    > into automatic and semi-automatic interface generators like SWIG,
    > BOOST.PYTHON and ended up doing nothing useful and so adopted BABEL[/color]

    I doubt any of those support SIDL, since it appears to be both highly
    specialised and unpopular (according to Google). If you want
    opinions, you might try the SciPy or Numeric / numarray mailing lists
    -- no guarantee that anybody's heard of it, of course ;-)

    If you had a specific problem with Boost.Python, ask about that (the
    c++-sig list is probably the best place to ask -- search the archives
    first, though).


    John

    Comment

    • BadJake

      #3
      Re: PYTHON AND C++

      Hi
      We use Phil Thompson's exellent interface genentor - SLIP
      You can download SLIP from Phil's web site at


      Regards
      John

      Comment

      Working...