Grokbase Groups Perl xs November 2004

Search Discussions

10 discussions - 37 posts

  • -----BEGIN PGP SIGNED MESSAGE----- Moin, I have seen some alarming memory growth on an application of mine, and have the hunch that Math::BigInt::GMP is leaking memory. The included test script ...
    Nov 28, 2004 at 1:25 pm
    Dec 10, 2004 at 3:28 pm
  • Hi, here's one that I have no idea how to go about: Take this Perl code: my $i = iterator([1 .. 3]); while (defined (my $val = $i- ()) { print $val, "\n"; } __END__ 1 2 3 I am now trying to implement ...
    Tassilo von ParsevalTassilo von Parseval
    Nov 22, 2004 at 7:02 am
    Nov 23, 2004 at 10:03 pm
  • I have a piece of code in XS land that reads data from an external source and populates a scalar that's passed in to it (ala sysread). It doesn't seem to work if I pass a shared variable in to it ...
    Eric GarlandEric Garland
    Nov 19, 2004 at 6:39 am
    Nov 21, 2004 at 9:17 pm
  • Hi, right now I'm lost a bit in the muddle of the various perl compilation flags and the sizes of some C datatypes. The task is simply to get the numerical maximum of a list of values. Could someone ...
    Tassilo von ParsevalTassilo von Parseval
    Nov 16, 2004 at 6:52 am
    Nov 18, 2004 at 4:29 am
  • Hi, for a pairwise-map, thusly: my @c = pairwise { $a + $b } @a, @b; I have written an XSUB that I think is doing dangerous stuff with the Perl stack. Here's the gist of it: PROTOTYPE: &\@\@ SV ...
    Tassilo von ParsevalTassilo von Parseval
    Nov 24, 2004 at 6:28 am
    Jan 2, 2005 at 7:15 pm
  • Hello all!! I have a mistake, but I cannot understand, why it occurs... :( My code: ==================================================== #include "EXTERN.h" #include "perl.h" #include "XSUB.h" ...
    Dmitriy kuvshinovDmitriy kuvshinov
    Nov 17, 2004 at 2:52 am
    Nov 17, 2004 at 11:55 am
  • Hi Everyone, I've been staring at this for hours now and I can't work out where I'm leaking memory in a perl XS module I'm working on. Basically, I need to take a tree of C structures: typedef struct ...
    Nov 8, 2004 at 3:08 am
    Nov 8, 2004 at 10:45 pm
  • Dear Ladies and Gentlemen, It comes as no suprise when my program fails to compile/link, but when the stack fiddling example from PerlEmbed does (power.c/, perhaps something more sinister is ...
    Stanley HopcroftStanley Hopcroft
    Nov 6, 2004 at 10:25 am
    Nov 6, 2004 at 11:55 am
  • folks, I just tried to modify Devel::Size to teach it to compute the size of subroutines. Since B::Concise can walk an optree, Im trying to call it (perl code) from Devel::Size::thing_size (XS code). ...
    Jim CromieJim Cromie
    Nov 11, 2004 at 4:01 pm
    Nov 22, 2004 at 11:59 am
  • Hello Ng, If I use the PerlOI_* functions to write data in a text file which codepage will be used? I ask for this because I get data from an EBCDIC file (codepage 273), convert it to to codepage ...
    Reinhard PagitschReinhard Pagitsch
    Nov 14, 2004 at 12:19 pm
    Nov 14, 2004 at 7:31 pm
Group Navigation
period‹ prev | Nov 2004 | next ›
Group Overview
groupxs @