Re:Larry Wall's Perl 6 Release Talk [video]
by cygx on Saturday November 14, 2015 @06:19AM
(#10565305)
Don't forget about the grammar engine - the parsing speed is only in the hundreds as measured in lines of code/s, which is a concern for script startup.
I've come up with rather 'creative' workarounds[1] until a more proper solution arrives...
Re:Larry Wall's Perl 6 Release Talk [video]
by Mithaldu on Saturday November 14, 2015 @06:21AM
(#10565310)
He does call it a "compiler" in the video. Maybe that's temporary while it's still unoptimized, or a change in direction?
Re:Larry Wall's Perl 6 Release Talk [video]
by eric_the_read on Saturday November 14, 2015 @11:56AM
(#10566289)
Perl5 historically has compiled to bytecode and then interpreted the bytecode. I imagine that's what's going on here.
* multiple dispatch * the meta-object protocol
And the thing is, these features are being used all the time, because the core language is built out of them. If you want to see how a language which is not built on these things runs (on the same vm implementation, I might add), I suggest you try nqp :-).
https://github.com/nqp/nqp