|Do you know where your variables are?|
Re^5: Perl 5 Optimizing Compiler, Part 4: LLVM Backend?by Will_the_Chill (Pilgrim)
|on Aug 29, 2012 at 04:53 UTC||Need Help??|
Perl 5 doesn't run slower than C because it lacks a JIT.But here you say:
Add a tracing JIT. Iterate on that for a few years.So which is it? JIT good or JIT bad?
Other than that potential logical inconsistency, I am in general agreement with your premises of Perl-runs-slow-because-it-is-dynamic and LLVM-was-not-designed-for-dynamic-languages. However, until a better backend target is determined, it looks like LLVM may be one of our best options.
If we can clean up some of the Perl internals along the way to Perl5-on-LLVM, then we can either change the backend target to a more-dynamic-than-LLVM platform or just upgrade LLVM to support dynamic language features.