|
|
| Perl: the Markov chain saw | |
| PerlMonks |
Re: Re: Re: Apocalypse 12by fireartist (Chaplain) |
| on Apr 20, 2004 at 08:27 UTC ( #346564=note: print w/ replies, xml ) | Need Help?? |
|
I've been looking forward to A12 for a while and I don't think I'm disappointed. - There's plently of stuff I haven't grokked yet - but the stuff I do really excites me. It might be objected that this will slow down the parameter binding algorithm for all methods favored with an implicit *%_, but I would argue that the binding code doesn't have to do anything till it sees a named parameter it doesn't recognize, and then it can figure out whether the method even references %_, and if not, simply throw the unrecognized argument away instead of constructing a %_ that won't be used. And most of this "figuring out" can be done at compile time.Will Perl6 not still have eval? - Will this not have an impact on any compiler optimizations that I don't explicitly ask for? e.g. What if the above method's 'extra' arguments are thrown away, but auto-genereated code inside an eval tries to reference it? How can the compiler ever be sure enough to make that optimization except in the most trivial example? method foo { return 1 } However, I don't know a thing about compilers, so I don't know what I'm talking about - just giving you feedback on what I'm "troubled by" ;)
In Section
Perl News
|
|
||||||||||||||||||||||||