On Sun, May 25, 2008 at 11:21 AM, Thomas Hruska <[EMAIL PROTECTED]> wrote:

> I would much prefer to see embedded PHP, but I've never seen that.  It
> apparently is possible but not easy to do.

I've not seen embedded PHP either, except, of course, inside Apache.
Perl and Python are easy to embed. The one sticky issue I have run
across with Perl is that it is very difficult to use Perl to
manipulate live objects inside a C++ application (easy to do in
Python). Easy to do with C data structures, not so easy with C++.
There was a module someone had written a while back to do it, but it
was flaky when I tried to use it, and rather incomplete. But building
a scripting engine over an API using something like SWIG is the way to
go.

-- Brett
------------------------------------------------------------
"In the rhythm of music a secret is hidden;
 If I were to divulge it, it would overturn the world."
 -- Jelaleddin Rumi

Reply via email to