in reply to Can arbitrary XS/SWIG using modules be loaded into an embedded perl at runtime?
As an aside, the reason I've never written a perl-embedding program, is that I've found it much to start with a perl program and load the C code using XS (IOW write your C code as a bunch of libraries and bootstrap it from perl (which could be as simple as doing one function call).
update: just in case I wasn't clear: your embedded perl interpreter should be able to load compiled XS/C/C++ etc modules just like a normal perl interpreter can.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Can arbitrary XS/SWIG using modules be loaded into an embedded perl at runtime?
by kingkongrevenge (Scribe) on Jul 24, 2008 at 01:38 UTC | |
by kingkongrevenge (Scribe) on Jul 24, 2008 at 04:32 UTC |