2018-06-13 | 814 words | Help us make beginners' Perl 6 experience better
What this means is the July's Rakudo Star release will possibly be the release the first crop of readers of that book will be using (the next release after that is in October). I've seen several people say they're waiting for this book to get published before they give Perl 6 a try. Coupled with the marketing the author and O'Reilly will be doing for the book, I expect to see an influx of new users.
For that reason, I'm making a call to action, for everyone to polish the experience of the first steps those users will make in Perl 6.
How to Help?
There are several things you can help with, depending on your skillset. And before anyone protests, don't worry, there's one thing everyone is able to do…
Install Perl 6
The easiest thing you can do is grab a clean box and try to install Perl 6 to it. This is especially useful if you've never done it before and have no idea what you're doing, as it'll be very easy for you to see things that need to be improved.
Are you having trouble finding or choosing what to install? Getting installation errors? Having trouble finding support channels? Report it!
Learn/Use Perl 6
This, again, is the area where the less experience with Perl 6 you have, the better. Is there something you find difficult to use or hard to find? Let us know.
Code editors, books, documentation, modules, tutorials, excercises, contests, language news, support channels. If you were looking for any of those things and had a hard time finding them, the process will likely need to be addressed.
Rakudo on Windows
This is the area where I hope we'll make a lot of progress before the next Rakudo Star release (it'll be in July, based on Rakudo compiler release scheduled for July 21st). Few, if any of the core devs use Windows as their development environment, so the state of Rakudo on Windows is slightly lagging behind.
While 6.d-proposals roast stresstest
is clean on Linux and MacOS, on Windows,
there's a bunch of test failures. Several of them are likely problematic tests themselves (e.g. those that shell out and expect
cmd.exe to handle Unicode out of the box). When I last looked at the failing tests, some of them were failing due to how
&run escapes arguments; since
perl6 is launched with a batch file on
&run would require using
escapes of command line arguments, which
&run doesn't use. There's some discussion for this issue on R#1325, RT#132258, and self-rejected RFC R#1306.
If you'd like to look into these problems, you can install Rakudo from source on Windows and then run
gmake stresstest (or whatever
make equivalent you have) to clone all the spectests into
t/spec directory and run them, so you'll be able to see what's failing. You can run individual tests with
There's also a second item of lesser importance: Rakudo Star build on 32-bit Windows. The latest build we have for that system is 2016.01, which is quite outdated. On occasion people do ask for 32-bit builds and currently we can only suggests to build from source.
It'd be nice to have a more recent build created. I'm unfamiliar with what's
involved. If you're interested in helping, join our IRC chat and try to speak to
Help Resolve Issues
Help us resolve open Issues. In the context of this call to action, the most pertinent repos would likely be User Experience, Perl6.org website, Modules.Perl6.org website, as well as Docs, Rakudo Star, Rakudo itself, and Roast Test Suite.
For core hacking resources, there are some tutorials with "Core Hacking" in their titles on Rakudo.Party website, the NQP/Rakudo Internals Course and 6guts blog. I also like to use Z-Script rakudo dev helper script.
The LP6 book is about to hit the shelves and will likely bring a crop of new Perl 6 users. We can improve the perception of the language by polishing the experience of those users. Let's see if there are any problems with obtaining the compiler or any resources a begginer would need to get started with the language.
There are also some issues on Windows that need to be addressed, such as failing stresstests and 32-bit Rakudo Star builds.