[C++-sig] Is boost::python good for scripting?

Matthieu Brucher matthieu.brucher at gmail.com
Mon Jan 7 09:18:05 CET 2008


Hi,

It works quite good as Civilization 4 uses Boost.Python ;)

Matthieu

2008/1/7, Simon Pickles <sipickles at hotmail.com>:
>
> Hi,
>
> I have a c++ game engine. I also use a lot of python, mainly for my own
> tools and small apps.
>
> I'm hoping I can use Python as a scripting language in my c++ engine
> (which is already well developed).
>
> Looking at boost::python, its main emphasis seems to be on exposing c++
> to python. However, I am looking to do the reverse.
>
> Ideally, I'd like to be able to write small modules in Python,
> effectively functions loaded and run at call-time by the c++ engine, to
> which I could pass c++ data structures for processing.
>
> Could anyone give me a pointer to getting started using python in c++?
>
> So kind!
>
>
> Simon
>
> --
> Linux Counter: User# 424693
>
>
>
> _______________________________________________
> C++-sig mailing list
> C++-sig at python.org
> http://mail.python.org/mailman/listinfo/c++-sig
>



-- 
French PhD student
Website : http://matthieu-brucher.developpez.com/
Blogs : http://matt.eifelle.com and http://blog.developpez.com/?blog=92
LinkedIn : http://www.linkedin.com/in/matthieubrucher
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/cplusplus-sig/attachments/20080107/059d8fc5/attachment.htm>


More information about the Cplusplus-sig mailing list