develooper Front page | perl.perl5.porters | Postings from May 2008

Re: on the almost impossibility to write correct XS modules

Thread Previous | Thread Next
From:
Rafael Garcia-Suarez
Date:
May 21, 2008 05:56
Subject:
Re: on the almost impossibility to write correct XS modules
Message ID:
b77c1dce0805210556tde8aa9es8b9560b7ad6c36a9@mail.gmail.com
2008/5/21 Juerd Waalboer <juerd@convolution.nl>:
> Indeed. I had made BLOB for this, but it can't prevent the upgrades.
>
> Though the thing that upgrades can be made to check ->isa("BLOB"). Would
> that be possible; would that be desirable?

That would be a bit slow, but most strings aren't blessed anyway, so
it's only a matter of checking SvOBJECT in a first step.

However that would of course imply to pull BLOB in the CORE.

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About