Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid

Re^3: Pure Perl Modules, XS Modules, what's the current trends?

by almut (Canon)
on Dec 20, 2007 at 22:54 UTC ( #658315=note: print w/replies, xml ) Need Help??

in reply to Re^2: Pure Perl Modules, XS Modules, what's the current trends?
in thread Pure Perl Modules, XS Modules, what's the current trends?

... but would you want to call it "pure Perl" in that case? I mean, from an installation point of view, you'd still have to make sure the respective prerequisite shared object file(s) will be installed on the target system...

But irrespective of that, a stable P5NCI would be a very nice thing to have :)

Replies are listed 'Best First'.
Re^4: Pure Perl Modules, XS Modules, what's the current trends?
by chromatic (Archbishop) on Dec 20, 2007 at 23:08 UTC

    In theory, with a working and stable P5NCI installed, any module which uses it can be pure Perl, so there's no compiler necessary to install them.

      uuuhhhh...mama (salivating).

      Sounds terrific.

      But to compĺete the picture, all the good people who has kindly contributed modules that use XS would have to rewrite them to a pure-perl implementation, is my understanding correct?

      I did a small XS test once....looong time ago. Maybe it would ease my problems if I were to revisit that.

      Heatseeker Cannibal

        You're right. Any XS module which is just a simple library binding would need recoding to use P5NCI instead.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://658315]
[Corion]: Maybe I should mail them to find out if they can provide me a "hotdog / no hotdog" model for developping the XS bindings. It would be nice to have a self-contained XS library for applying models to data. Or maybe I should look at TensorFlow, which can...
[Corion]: ... at least be trained by me, instead of relying on a vendor
[Discipulus]: complex and interesting
[Corion]: Discipulus: My hope would be that you can install the module from CPAN, download a model, and get image descriptions/ object detection within half a day, which would be great :)
[Corion]: But it seems that at least for that library, this won't work. But maybe the TensorFlow people have made pretrained model data available, and my task is then to repackage the TensorFlow C API and an example into a proper XS file :)

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (8)
As of 2018-06-18 10:49 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (109 votes). Check out past polls.