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.