YenForYang has asked for the wisdom of the Perl Monks concerning the following question:
Recently I've been looking into what XSLoader and DynaLoader and I've been trying to figure out what they do behind the scenes so that maybe I can do (what they do) ("low-level") if I so wish (for whatever reason). It seems to me that XSLoader.pm just uses DynaLoader--it's a convenient module but using it to load XS seems like just an extra step. Well I've looked at DynaLoader as well, and I'm lost on how it does what it does. It implements functions like dl_load_file, dl_install_xsub, and dl_find_symbol but I can't seem to find any definitions. So I'm guessing they are defined in XS or something...but if the subroutines for loading XS are defined in XS, how does DynaLoader manage to do anything?
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Most direct way of loading XS?
by salva (Canon) on Feb 18, 2018 at 09:32 UTC | |
Re: Most direct way of loading XS?
by Anonymous Monk on Feb 18, 2018 at 10:37 UTC | |
Re: Most direct way of loading XS?
by Anonymous Monk on Feb 18, 2018 at 14:36 UTC | |
by Your Mother (Archbishop) on Feb 18, 2018 at 19:18 UTC | |
by salva (Canon) on Feb 19, 2018 at 08:43 UTC | |
by dave_the_m (Monsignor) on Feb 19, 2018 at 11:11 UTC | |
by syphilis (Archbishop) on Feb 19, 2018 at 10:05 UTC | |
by Your Mother (Archbishop) on Feb 19, 2018 at 13:55 UTC |