Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^3: Inline::C and Dist::Zilla

by davido (Cardinal)
on Nov 14, 2014 at 22:16 UTC ( [id://1107261]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Inline::C and Dist::Zilla
in thread Inline::C and Dist::Zilla

I'm not sure I am interpreting your question correctly, but here goes:

Inline::C gives the appearance of C code being included in-line with your Perl script. Internally this works by producing an XS module that the target codebase can bootstrap with Dynaloader and use. This happens quietly, behind the scenes. Someone else suggested that you could just take that auto-generated XS module and use it to create your own XS module via the time-honored tradition of copy/paste/fiddle. This has been how many people get started with their XS-based modules; prototype with Inline, then migrate to full XS.

Inline::Module lets a distribution be created by using Inline to author the code, but then the end-user just gets the .so file installed where any other XS-generated .so (or .dll, etc) file would have been installed on any plain old XS based distribution.

We're still working on it. Currently it works for ExtUtils::MakeMaker based distributions, and probably for Dist::Zilla by now as well. But documentation is sparse, and there are no guarantees that something won't change before we officially announce the release. Nevertheless, we would love for people to go ahead and give it a try, and to check in at #inline with questions. Issues can be posted to the module's GitHub repository issue tracker.


Dave

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1107261]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (5)
As of 2024-04-18 03:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found