C++ and Python

Discussion in 'Python' started by marc.wyburn@googlemail.com, Mar 31, 2006.

  1. Guest

    I've been learning to write VST plugins in C++ and would like to switch
    back to Python. The first step of writing the plugin is to import the
    C++ header files from the Steinberg SDK. How can I do this in Python.
    I've tried looking at SWIG but didn't really understand what it was
    trying to do. Should I be using SWIG to create Python versions of
    the classes and then go from there or does it create glue code to talk
    to the classes.
     
    , Mar 31, 2006
    #1
    1. Advertisements

  2. Guest

    sorry accidentally hit post.

    has nyone tried this before? Thanks, Marc.
     
    , Mar 31, 2006
    #2
    1. Advertisements

  3. On 30 Mar 2006 23:01:21 -0800,
    <> wrote:
    > I've been learning to write VST plugins in C++ and would like to switch
    > back to Python. The first step of writing the plugin is to import the
    > C++ header files from the Steinberg SDK. How can I do this in Python.
    > I've tried looking at SWIG but didn't really understand what it was
    > trying to do. Should I be using SWIG to create Python versions of
    > the classes and then go from there or does it create glue code to talk
    > to the classes.


    Hi. My advice is try to use boost.python library.
    http://www.boost.org/libs/python/doc/tutorial/doc/html/index.html
    There are also few code generators available for it: pyplusplus and Pyste.

    > --
    > http://mail.python.org/mailman/listinfo/python-list
    >



    --
    Roman Yakovenko
    C++ Python language binding
    http://www.language-binding.net/
     
    Roman Yakovenko, Mar 31, 2006
    #3
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Cameron Laird
    Replies:
    3
    Views:
    856
    Dennis Lee Bieber
    Jun 28, 2003
  2. Irmen de Jong
    Replies:
    0
    Views:
    458
    Irmen de Jong
    Jun 30, 2003
  3. Irmen de Jong
    Replies:
    0
    Views:
    508
    Irmen de Jong
    Jul 7, 2003
  4. JW
    Replies:
    1
    Views:
    736
    David Jeske
    Jul 12, 2003
  5. David L
    Replies:
    1
    Views:
    380
    Iwan van der Kleyn
    Dec 29, 2003
  6. Replies:
    0
    Views:
    928
  7. cnb
    Replies:
    0
    Views:
    379
  8. Replies:
    0
    Views:
    202
Loading...