xs Questions
2
Correct me if i'm wrong, but XS and Dynaloader based modules are those who use C/C++ shared objects (.so) and which are not PP (Pure Perl)?
Now assuming I have a machine, which does not have web-c...
Diffident asked 8/7, 2012 at 16:50
2
Solved
What's the difference between using XS and the Inline::C module? This was mentioned by someone in this question and has made me curious.
Internode asked 29/7, 2011 at 20:41
3
Solved
It seems some (many?) modules on CPAN are partly implemented in C using XS, and can fall back to a pure-perl implementation if necessary. While this is smart, it can obviously hurt performance, and...
Huckleberry asked 7/9, 2010 at 14:29
3
I wish to embed a C code in Perl. In this C code I want to read a huge file into memory, make some changes and build a hash (a custom one). I wish to make this hash accessible from my Perl code. Is...
3
Solved
This has been working for me in 5.8 and 5.10, but in 5.12 my code creates this weird non-qr object:
# running "print Dumper($regex)"
$VAR1 = bless( do{\(my $o = '')}, 'Regexp' );
Whereas printin...
Newbill asked 21/4, 2010 at 18:16
3
Solved
I have a module that will target several different operating systems
and configurations. Sometimes, some C code can make this module's task
a little easier, so I have some C functions that I would ...
3
Solved
I have gone through the source code of Data::Dumper. In this package I didn't understand what's going on with DumpXS. What is the use of this DumpXS?
I have searched about this and I read that, it...
2
Solved
How can I pass Perl array by reference to C XS module?
my @array = ( 1..20 );
XSTEST::test_array_passing(\@array);
What do I do in XS so it sees the array?
3
Solved
I have a set of classes written in C++. What would be best way to call them from a Perl script? Thanks.
© 2022 - 2024 — McMap. All rights reserved.