Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

Re^5: Reasons for Using "Perl6" (don't need to earn a living?)

by chromatic (Archbishop)
on Jan 03, 2018 at 23:36 UTC ( #1206650=note: print w/replies, xml ) Need Help??

in reply to Re^4: Reasons for Using "Perl6" (don't need to earn a living?)
in thread Reasons for Using Perl 6

A comparison to perl 5 + XS shows a factor of 130, which is *much* closer that the 350 from August, and that is speed improvement in the language itself.

In theory, Rakudo is a language with a better type system than C. In theory, Rakudo has a JIT and shouldn't require you to write XS or C or internals code to optimize things. In theory, a better optimized system wouldn't have to cross the language/ABI/calling conventions boundary of Perl/XS.

In theory, Rakudo was designed to be easier to optimize (and to require fewer pessimizations) than Perl.

Now I know as well as anyone that optimizations are difficult and time consuming and need a lot of careful thought and tuning, but parsing and file I/O aren't exotic operations that tax your ability to think of complicated optimization strategies. Rakudo/Moar still being over two orders of magnitude slower than optimized Perl for CSV parsing is not, to me, a ringing endorsement.

  • Comment on Re^5: Reasons for Using "Perl6" (don't need to earn a living?)

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1206650]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (6)
As of 2018-01-18 08:59 GMT
Find Nodes?
    Voting Booth?
    How did you see in the new year?

    Results (208 votes). Check out past polls.