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:
Juerd Waalboer
Date:
May 21, 2008 18:36
Subject:
Re: on the almost impossibility to write correct XS modules
Message ID:
20080522013548.GA16895@c4.convolution.nl
Glenn Linderman skribis 2008-05-21 18:08 (-0700):
> >I agree that correct code wouldn't need the checks. That is: if an API
> >is correctly designed. However, if the API is already set in stone,
> >giving this single bit of metadata to a string can really help to
> >improve existing modules.
> Not sure what you mean here... if the API is set in stone (...)

By "set in stone" I meant that the way of passing arguments is already
determined and cannot easily be changed. That means that if you want to
add more information to something, it has to be communicated out of band
or embedded as metadata.

See BLOB 1.01 that's now on its way to CPAN.

http://feather.perl6.nl/~juerd/BLOB-1.01.tar.gz
-- 
Met vriendelijke groet,  Kind regards,  Korajn salutojn,

  Juerd Waalboer:  Perl hacker  <#####@juerd.nl>  <http://juerd.nl/sig>
  Convolution:     ICT solutions and consultancy <sales@convolution.nl>
1;

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