This may not be a popular suggestion, but would it be possible to abandon XS and try Inline::C instead? I haven't used either, but Ingy's talk about how he came up with Inline::C at the Montreal YAPC was most illuminating.
In addition, I see that CPAN also has Inline::CPR, something that lets you run Perl from within C.
And in terms of having to inject subs dynamically, is that necessary? Could you instead subsitute a more general piece of code that Does The Right Thing when called?
--t. alexIn reply to Re: Unorthodox Embedding/XS madness!
by talexb
in thread Unorthodox Embedding/XS madness!
by Ouroborous
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |