![]() |
|
No such thing as a small change | |
PerlMonks |
Re^3: About using rperlby Laurent_R (Canon) |
on Aug 13, 2019 at 10:26 UTC ( #11104376=note: print w/replies, xml ) | Need Help?? |
It would be great to see an example of how to call a sub in the shared libraryI haven't seen such example of code, but I attended a talk by Will Braswell a few months ago, and asked whether it is feasible, and Will answered that it is possible. So you could have your CPU intensive nested loops or other computations in a RPerl module, and the rest in a regular Perl program. This looks very interesting to me, because it seems easier to write a RPerl module than an XS module.
In Section
Seekers of Perl Wisdom
|
|