You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a confuse about type mechanism of Perl6, because I can write this code in Perl6
subfoo(Int bar){ ... }
That I can explicitly declare type in Perl6, I want to know is there any special processor of type mechanism in Perl6?
And I want to know Does Perl6 have compile time? the code come in compile time first, then come in interpreter? the special processor of type exist in compile time?
Thx for your answers
The text was updated successfully, but these errors were encountered:
And I want to know Does Perl6 have compile time? the code come in compile time first, then come in interpreter? the special processor of type exist in compile time?
Yes, Perl 6 has a compilation phase (most scripting languages do nowadays). The early type errors come IIRC at this moment from the Optimizer
The rakudo implementation of perl6 has multiple backends- moarvm is the custom VM that does have a JIT. Using the Java or is backends-, you get whatever those vms provide for a JIT.
The Problem
I have a confuse about type mechanism of Perl6, because I can write this code in Perl6
That I can explicitly declare type in Perl6, I want to know is there any special processor of type mechanism in Perl6?
And I want to know Does Perl6 have compile time? the code come in compile time first, then come in interpreter? the special processor of type exist in compile time?
Thx for your answers
The text was updated successfully, but these errors were encountered: