Keep It Simple, Stupid | |
PerlMonks |
Re^7: what would you like to see in perl5.12?by BrowserUk (Patriarch) |
on Aug 10, 2008 at 04:59 UTC ( [id://703376]=note: print w/replies, xml ) | Need Help?? |
Sorry if I missed the correspondence between Perl6::Declare and Devel::Declare & Perl6::Signatures. If indeed there is any? Perl6::Declare lets you declare subroutine/methods using Perl 6 signatures, which are lovely. I heard this turns out to actually be faster than Perl 5 calling conventions, Devel::Declare talks about "declarator magic" and Perl6::Signature contains a Parse::RecDescent-based parser for signatures.". If anything that uses P::RD turns out to be faster than my( $x, $y, $z ) = @_;, it will indeed be "magic". Oh! and I'll eat my hat! (I'll have to buy a hat to eat, but I'm sure I can find something tasty at a thrift shop:) To clarify, what I meant by my request for less overhead, was a reduction in the internal (C-level) overhead associated with calling a perl subroutine, that results in this kind of comparison of similar subroutines coded in Perl and another bytecode compiled, interpreted language: Java. Are Perl's function calls slow? Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
In Section
Meditations
|
|