[Israel.pm] Embedding perl in a C++ program

Roee Friedman roee_fr at netvision.net.il
Thu Dec 30 13:06:36 PST 2004


> An embedded perl interpreter has its own Perl context, but it runs
> *right in* your main app. If it is single threaded, you need to
> yield control over to the GUI event loop from time to time. But this
> is no different from having a C++ submodule in your code.

> Inline effectively makes the language difference transparent. How
> would you implement *any* scripting host? You have to design that
> first, then do it with Perl.

Hello,

Isn't it backwards? He looks for a way to embed perl in c++. Inline::* 
modules are intended to extend perl with another languages, but make it 
easier than programming XS modules.

Roee



-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.298 / Virus Database: 265.6.6 - Release Date: 28 _____ 2004




More information about the Perl mailing list