Question

I'd like to get your opinion on How to get started with Perl 6? Shall one use Rakudo which is being build on Parrot or still better go with the Pugs implementation?

If Rakudo, what is the best way to install it? The monthly releases of Parrot, right from the SVN of Parrot, other?

Was it helpful?

Solution

Notice the date on my answer. I'll leave it here, but it's not how the world is anymore. See raiph's answer.


I'd recommend using the latest monthly release of parrot from either the Parrot site or the parrot release on CPAN. I've found that sometimes the latest stuff in trunk/ doesn't work for whatever reason. That's just to get started.

Once you're started and brave enough, the bleeding edge stuff might be more appropriate. The Parrot download page has the repository details.

Note, however, that you shouldn't install parrot. Unless they've fixed this since last I looked, having parrot installed messes up the build process. Make it in it's source directory, but don't use the install target. You can still build languages/perl6 and create the perl6 target and install that where you like.

I gave up on Pugs because installing the latest GHC was always such a pain. I haven't looked at it for awhile though, but every new Pugs release seems to require a GHC upgrade. Maybe that's more sane now.

OTHER TIPS

After my first visit to the #perl6 at irc.freenode.org, I got the following answers to the same question:

I would recommend to use monthly Rakudo Star releases: http://rakudo.org/downloads/star Rakudo Star includes Rakudo Perl 6, MoarVM, panda and some Perl 6 modules. The February 2015 release will be the last one to include the parrot VM.

Join the freenode IRC channel #perl6 to use online evalbots and/or get help of any sort. All are welcome.

If you'd like to use Perl 6 inside Perl 5 -- load Perl 6 modules, use Perl 6 objects, write Perl 6 code -- consider trying the new Inline::Perl6 (a Perl 5 module on CPAN that wraps and embeds the Rakudo-on-MoarVM Perl 6 compiler).

If you'd like to install a recent, tested, stable compiler/doc/module bundle release, try a Rakudo Star distro.

For code, see examples, RosettaCode, learnXinYminutes, and Perl 6 Advent Calendars.

Rakudo, SVN.

I'm pretty sure you know this already.

Installing Rakudo is the best way to get started programming in Perl 6. Rakudo is a Perl 6 compiler and implementation.

I personally recommend installing Rakudo using the rakudobrew installation manager as it simplifies the installation process. Follow the instructions here https://github.com/tadzik/rakudobrew. In addition to installing Rakudo and MoarVM it will also install Panda which is a Perl 6 module installer.

All the information you want to know about Perl 6 can be found here at http://perl6.org/.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top