Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister

Re^5: Perl 6 is going to get a lot faster in 2013

by Your Mother (Bishop)
on Feb 04, 2013 at 18:28 UTC ( #1016988=note: print w/replies, xml ) Need Help??

in reply to Re^4: Perl 6 is going to get a lot faster in 2013
in thread Perl 6 is going to get a lot faster in 2013

I agree with this. In my attempts to get on board it was speed and the dearth of documentation (and corresponding weakness in diagnostic feedback for misuse) that kept putting me back in the drink. I never considered "code completeness" for a moment; only "code what can I do with thisness."

  • Comment on Re^5: Perl 6 is going to get a lot faster in 2013

Replies are listed 'Best First'.
Re^6: Perl 6 is going to get a lot faster in 2013
by raiph (Chaplain) on Feb 04, 2013 at 20:09 UTC
    Documentation is still a weak point though a number of things were significantly improved in 2012. Most notably the new project has established the right architecture for a Perl 6 equivalent of Perl 5's perldoc.

    At least four big parts of the diagnostic feedback problem have been addressed in the last couple years:

    • The level of completion and stability of Rakudo. If there's an error, it's a lot more likely that the error is in the user's code not the compiler.
    • Error messages. Rakudo has finally caught up with Larry Wall's canonical STD parser. There's color coding, accurate pinpointing of where an error is, uncannily clever suggestions about what you meant to do, and so on. (Niecza was based on STD from the start.)
    • #perl6. The best way to learn Perl 6 is to get on the #perl6 freenode IRC channel and combine use of the on channel evalbots with questions. In watching #perl6 for the last year and a half I've seen a lot of newbies come ask questions and they invariably encounter patience and friendliness. Another great source for figuring Perl 6 out is to read the #perl6 log archive.
    • Rakudo source code debugger. A nice UI, debugging of regexes/grammars, debugging of exceptions, the works. And eminently hackable, too!
      Speaking of documentation, I was trying to figure out how to do some basic introspection stuff in the December release, and had no luck. Things like browsing through loaded modules/classes (keys %:: in Perl 5) and getting the current scope's variables (PadWalker), both useful for tab completion in the interpreter. Neither the regular nor the debugging interpreter seems to provide this information, and it looked like I might have to dig down into NQP or (shudder) Parrot to find it.

      Is there a Perl 6-level way to get at this that I missed?

Re^6: Perl 6 is going to get a lot faster in 2013
by salva (Abbot) on Feb 05, 2013 at 09:15 UTC
    Slowness has been the major factor stopping me for getting into Perl 6 also.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (9)
As of 2018-06-19 08:01 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (111 votes). Check out past polls.