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

Re: on the almost impossibility to write correct XS modules

Thread Previous | Thread Next
Glenn Linderman
May 21, 2008 21:30
Re: on the almost impossibility to write correct XS modules
Message ID:
On approximately 5/21/2008 6:35 PM, came the following characters from 
the keyboard of Juerd Waalboer:
> 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.

It's just software, not stoneware.

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

Glenn --
A protocol is complete when there is nothing left to remove.
-- Stuart Cheshire, Apple Computer, regarding Zero Configuration Networking

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About