Austin Hastings wrote:


But what's the vision for p6?


My expectation is that the type-checking stuff will be heavily used
for:

1- Large scale projects.

2- CPAN modules.


3- speed

When you are not on perl one liners, but maybe some inner tight loops of some algorithm or whatever, where speed does matter, we (the low level PASM folks :) have achieved a speed increase of x100 and more, on a now of course hand crafted assembler routine compared to $HLInterpLang.

These are the margins that a good optimizer will be able to hopefully reach, which are for plain integers near or beyond gcc -O3 performance with the JIT runtime.
When the flexibility of all the lanugage comes in, this is of course not possible, and the more of those features (caller, %MY, leave, exceptions) are used, the less, optimizations can be used. But for "what is the type-checking stuff": for sure for better diagnostic messages and for performance, when needed.


=Austin


leo




Reply via email to