List Info

Thread: Re: boost.python




Re: boost.python
user name
2007-09-25 08:28:09
>From: Frame Buffer <framebuffergm...>
>I tried using boost.python, but I believe I totally
missed the point.
>Embedding python using boost.python requires python/c
api anyways which to
>me defeats the very purpose of using it.

I don't see how that would defeat the purpose. boost.python
is a high
level wrapper for python/c api, just as luabind is a high
level
wrapper for the lua c api.

take note that you don't need to dabble in the python/c api
if you
don't want to (you may have to if you want something overly
complex).
the same goes for luabind and the lua c api.

the idea is that you don't need to since Boost.Python does
it for you
(just as well as luabind handles the lua c api for you).
that's the
concept of high level wrappers.

>I though it was something like
>luabind that allowed me to embed the interpretor.

it *is* something like luabind that allows you to embed the
interpreter.

>But it only allows to
>extend python with c++ code.

that's wrong.
http://www.boost.org/libs/python/doc
/tutorial/doc/html/python/embedding.html

------------------------------------------------------------
-------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
luabind-user mailing list
luabind-userlists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/luabind-us
er

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )