Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

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.

    Dave.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (3)
As of 2020-10-23 02:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favourite web site is:












    Results (234 votes). Check out past polls.

    Notices?