Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^3: Refactoring Perl5 with XS++

by mr_mischief (Monsignor)
on Apr 27, 2015 at 15:36 UTC ( [id://1124880]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Refactoring Perl5 with XS++
in thread Refactoring Perl5 with XS++

I think a pertinent question, then, is replace XS how? In one sense, XS is easily replaced if one has a powerful enough foreign function interface (FFI). In another sense, syntax that allows (possibly inlined) C to be separately compiled and to call back into Perl easily is required. If one wants to fully replace XS, the language has to be able to do both or do equivalent things to both.

Replies are listed 'Best First'.
Re^4: Refactoring Perl5 with XS++
by rje (Deacon) on Apr 27, 2015 at 17:25 UTC

    Quite so! And that's pretty much where I'm at: "in what sense would XS be 'replaced'"? And of course it's probably more like robustifying the API so that XS is directly used less often, or never if possible.

    Note that I'm not assuming any of this is likely or easily doable. Hard things are possible, though.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (5)
As of 2024-03-28 23:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found