Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

Re^5: Perl 5 Optimizing Compiler

by eyepopslikeamosquito (Canon)
on Aug 13, 2012 at 08:40 UTC ( #987073=note: print w/ replies, xml ) Need Help??

in reply to Re^4: Perl 5 Optimizing Compiler
in thread Perl 5 Optimizing Compiler

From Type system (wikipedia):

Certain languages, for example Clojure, Common Lisp, or Cython, are dynamically typed by default, but allow this behaviour to be overridden through the use of explicit type hints that result in static typing. One reason to use such hints would be to achieve the performance benefits of static typing in performance-sensitive parts of code.

So, to get close to (statically typed) Java in terms of speed, Perl 5 would need to make significant tweaks to its type system and the way it handles polymorphism, as indicated by chromatic's response. See also MJD article (2001), which explains why making Perl as fast as C is problematic.

Comment on Re^5: Perl 5 Optimizing Compiler

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://987073]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (5)
As of 2014-07-26 13:16 GMT
Find Nodes?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:

    Results (176 votes), past polls