Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

Re^3: Most direct way of loading XS?

by salva (Abbot)
on Feb 19, 2018 at 08:43 UTC ( #1209462=note: print w/replies, xml ) Need Help??

in reply to Re^2: Most direct way of loading XS?
in thread Most direct way of loading XS?

I think you are misunderstanding the Anonymous Monk post.

He doesn't say XS/C code is portable, but that it can be used to hide portability issues providing OS agnostic APIs to be used from Perl code.

It is how the Perl core works. It deals with every OS quirk and custom, hidden them to the Perl programmer. And XS/C code can be used to do the same.

Well, at least that is my reading.

Replies are listed 'Best First'.
Re^4: Most direct way of loading XS?
by dave_the_m (Monsignor) on Feb 19, 2018 at 11:11 UTC
    My reading of anon is that Dynaloader shields you from the platform-specific details of how to dynamically link in a module at run time, which is why it would probably be unwise to roll your own.


Log In?

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (5)
As of 2019-08-21 11:58 GMT
Find Nodes?
    Voting Booth?

    No recent polls found