Embedding Python in Your C Programs (Linux Journal)
Posted Dec 31, 2005 2:37 UTC (Sat) by
dskoll (subscriber, #1630)
In reply to:
Embedding Python in Your C Programs (Linux Journal) by cventers
Parent article:
Embedding Python in Your C Programs (Linux Journal)
Actually, the Perl API looks scary as **** no matter how many times I look at it.
I wrote a program that uses an embedded Perl interpreter, following *EXACTLY* the instructions in the "perlembed" man page. On ancient versions of Linux/Perl (eg, whatever Perl ships with Red Hat 8), it segfaults. On newer versions of Linux/Perl, it works fine. On new versions of Perl on Solaris, it sort-of works. (If I destroy and attempt to recreate the interpreter, it segfaults.)
I posted questions to comp.lang.perl. No-one could diagnose the problem.
OTOH, I've written several fairly large programs that embed Tcl, and found it a joy to work with each time.
(
Log in to post comments)