NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
It may be obvious, but... (Score:1)
C allows some optimizations where Perl allow them to occur in other places.
-- Godoy.
Re:It may be obvious, but... (Score:3, Interesting)
Re:It may be obvious, but... (Score:2, Interesting)
Maybe someone needs to write a character-array manipulation class, a la PDL for huge matrix crunching. The class would gain a lot in efficiency for trading away the many capabilities Perl ordinarily gives. This would be something gross in XS, I'm sure.
Or maybe, if I'm thinking of writing a custom text-manipulation class for Perl, something's dreadfully wrong with the world. In much the same way that we always took XML::Parser's dependence on a C parser as an indication that something was wrong (and we were right).
Remember the C<less> pragma? You could supposedly use less 'memory' or whatever, and the interpreter would switch optimizations around to trade speed or whatever for memory. It'd be cool if you could trade off abilities on a scalar for efficiency. As in, declare that this scalar can never be bound to a regex operator such as m// or s///.
What am I rambling about?
J. David works really hard, has a passion for writing good software, and knows many of the world's best Perl programmers
Reply to This
Parent