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:
Shlomi Fish
Date:
January 15, 2014 22:45
Subject:
Re: How on earth did we manage to break pack() so badly?
Message ID:
20140116004549.40e2a019@telaviv1.shlomifish.org
Hi Johan,

On Wed, 15 Jan 2014 13:53:42 +0100
Johan Vromans <jvromans@squirrel.nl> wrote:

> Shlomi Fish <shlomif@shlomifish.org> writes:
> 
> > There are some CPAN modules like that, including
> > https://metacpan.org/release/Data-ParseBinary , which was inspired by
> > PyConstruct - http://construct.readthedocs.org/en/latest/ .
> 
> This is a good example of implementing the pack/unpack functionality in
> a radically different approach.
> 

Yes, I agree. One potential problem with it is that last time I asked its author
( https://metacpan.org/author/SEMUELF ) about it he said that speed/performance
were not a priority for it. Perhaps it's different now.

> > For formats, there is Perl6-Form (see
> > http://perl-begin.org/tutorials/bad-elements/#perlform ).
> 
> Well, this is just a minimally improved implementation of the
> current functionality. (It's 0.04, ten years old, and Damian's.)
> 

Well, it reflects what was originally planned for Perl 6, and this is the
module that Damian recommends in the book /Perl Best Practices/. Just because
it's version 0.04, does not mean it's not complete (it seems mostly complete),
and it seems to be mostly OK even if not updated ten years ago (see
http://perl.plover.com/yak/12views/samples/notes.html#sl-9 ). The fact that it
is Damian-ware could be an issue, though

> I'd prefer a new implementation to be more MD- or HTML-like.
> See e.g. Data::Report. (Okay, it's 0.10, six years old, and mine.)

What is MD? Markdown? 

Regarding https://metacpan.org/release/Data-Report - it seems interesting at
first glance.

Regards,

	Shlomi Fish

-- 
-----------------------------------------------------------------
Shlomi Fish       http://www.shlomifish.org/
Free (Creative Commons) Music Downloads, Reviews and more - http://jamendo.com/

The Angel of Death cannot keep up with Chuck Norris’s throughput of killing.
    — http://www.shlomifish.org/humour/bits/facts/Chuck-Norris/

Please reply to list if it's a mailing list post - http://shlom.in/reply .

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