develooper Front page | perl.perl5.porters | Postings from January 2014

Re: How on earth did we manage to break pack() so badly?

Thread Previous | Thread Next
From:
Paul "LeoNerd" Evans
Date:
January 14, 2014 13:38
Subject:
Re: How on earth did we manage to break pack() so badly?
Message ID:
20140114133839.679f9d60@shy.leonerd.org.uk
On Tue, 14 Jan 2014 07:44:13 -0500
Ricardo Signes <perl.p5p@rjbs.manxome.org> wrote:

> * demerphq <demerphq@gmail.com> [2014-01-14T07:20:32]
> > Sorry to nag, but 5.18 was shipped quite a while ago. A response to
> > this thread would be appreciated.
> 
> http://markmail.org/message/et6su7gaufhveism

Personally I'd be in favour of prototyping a brand new pack-alike thing
on CPAN, to fix these and some other issues.[*]

pack/unpack don't do anything truely "interesting" in core that
couldn't be done with regular XS code; their presence in the core
binary is purely a convenience. A CPAN prototyped replacement could
easily be possible.

 * Such issues as lack of stream-reading unpack, Google-style varints,
   terrible behaviour on buffer under-runs, ...

-- 
Paul "LeoNerd" Evans

leonerd@leonerd.org.uk
ICQ# 4135350       |  Registered Linux# 179460
http://www.leonerd.org.uk/

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