develooper Front page | perl.perl5.porters | Postings from February 2011

Re: [PATCH] use feature 'method' take two

Thread Previous | Thread Next
From:
Sam Vilain
Date:
February 3, 2011 17:30
Subject:
Re: [PATCH] use feature 'method' take two
Message ID:
4D4B5693.5090701@vilain.net
On 04/02/11 00:04, Zefram wrote:
>>                                         There is absolutely zero way
>> that these type constraints can be proved at compile time even when you
>> declare variables' types so you pay a huge runtime penalty.
> That wouldn't change if it were in the core.

Not instantly, no - but it would be nice to be able to move towards a
world where Perl is actually capable of skipping some run-time type
checks because it already knows that they can't be violated.  I'm not
saying this is going to be easy!

Sam

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