by greenName · 15y ago · 0 comments
60X slower than C. 30X slower than Java
If sed/awk/grep/sort/tr is not up the task, sure, try Perl for those one offs. For serious computation? Fuggedit.
What about Perl6 and LLVM?
My personal experience with Perl5:
- It has incomparable expressiveness. Only APL is more expressive. But more expressiveness makes source code less readable.
- Perl's regexp engine is the best - no doubt about it.
- I would never use Perl for big projects. Its odd syntax ($, sometimes %,... before variable names etc.) is terrible for long term maintainability.
No Perl 6 implementation is mature enough to use for practical purposes.
LLVM probably won't help Perl 5, because Perl 5 lacks sufficient type information, and because LLVM's design really seems to want static languages. See also the JVM and the CLR.
Its odd syntax ... is terrible for long term maintainability.
I would never attempt to maintain code written in a language I don't know.
I know Perl 5 well enough but will my successors also? Is Perl still rising? I don't think so.
That sounds like a hiring and training question.