2019.42 Question

The Perl 6 Weekly has been renamed to the Rakudo Weekly and can be found at: https://rakudoweekly.blog.

Thank you for visiting the Perl 6 Weekly the past years. It was a blast!

Please adjust your RSS readers, email notifications. Thank you!

Hope to see you there!

2019.41 New Wineskins

Larry Wall emerged, almost like a deus ex machina, to give his approval of changing the name of the Perl 6 Programming Language to “Raku”. This stirred up quite some reactions on the interwebs:

Also see quite some reactions on Twitter below.

London Perl Workshop

Next weekend, on Saturday 19 October, it’s time for the London Perl Workshop again. The following presentations with Perl 6 content appear to have been planned:

An excellent opportunity to learn more about Perl 6 / Raku. And possibly the last time for a pre-Brexit visit to the UK!

Even More Video Tutorials

Yanzhan Yang, a serial tech video uploader, yet again has posted more Perl 6 introductory videos on YouTube:

Getting more amazing every week!

Andrew Shitov

It was a stressful week for Andrew Shitov: at first he was worried about the future of his Perl 6 compiler book. Then, after Larry Wall showed his approval of the renaming, he suggested having a RakuCon in May 2020 on Cyprus at the venue previously intended for the 2020 Perl Conference. Quickly followed by a blog post explaining how he sees the future of Raku, including building a new, faster Raku compiler (/r/perl6 comments). Followed by the publication of the first Raku book: Using Raku and making that available for free download (/r/perl6 comments). And to top it off, produced a little tutorial about the difference between is rw and is raw. Yours truly can only hope that future weeks will be less stressful.

Perl Weekly Challenge #29

Blog posts with Perl 6 solutions for Challenge #29:

Challenge #30 is up for your perusal.

Questions about Perl 6

Meanwhile on Twitter

Meanwhile on Facebook

Thanks to the quickly unrepairable actions of a certain individual outside of the Perl 6 community, the Perl 6 Facebook group has changed all of its URLs and/or is only accessible to people with Facebook logins. And since it is the intention of changing back to the original URLs (which will most likely take a month thanks to Facebook policies), it doesn’t seem to make sense to put deep links here now.

So, if you’re interested in happenings on Facebook, check out the Perl 6 Group, and navigate from there.

Meanwhile on perl6-users

Perl 6 in comments

Perl 6 Modules

New modules:

Updated modules:

Winding Down

The past year has been very stressful for yours truly. And the past week even more so. Some stress will remain in the near future, but it looks like stress levels will be allowed to go down in the further future, with “Perl” and “Raku” each going their own way.

This is the last Perl 6 Weekly that yours truly will write. Next week I will just announce the location of the new Rakudo Weekly blog here.

Why “Rakudo” and not “Raku”, you might ask? Well, originally the “Perl 6 Weekly” was about all implementations of Perl 6. But for the past 4 years, it has effectively been only about the “Rakudo” implementation. Now that “Perl 6” is being renamed to “Raku”, it seems like a good opportunity to not squat on the language name in a blog that is effectively dedicated to a single implementation of the Raku Programming Language.

So see you next week for directions to the new blog!

2019.40 Quick Syntaxing

JJ Merelo is the proud writer of the latest Perl 6 book: Perl 6 Quick Syntax Reference: A Pocket Guide to the Language, the Core Modules, and the Community. A book packed with useful information and a must-have for any developer new to Perl 6. Highly recommended! (Safari).

Sub as method

Sterling Hanenkamp shows how to use a sub as a method (/r/perl6 comments).

Perspective and FALLBACK

Greg Donald has published two blog posts in the past week: a personal one about his perspective as an outsider, and a technical one about adding an attribute to a class at runtime.

Even More Video Tutorials

Yanzhan Yang, a serial tech video uploader, yet again has posted more Perl 6 introductory videos on YouTube:

Getting more amazing every week!

Perl Weekly Challenge #28

Blog posts with Perl 6 solutions for Challenge #28:

Challenge #29 is up for your perusal.

Core Developments

  • Ben Davies saw his work of the past months on improving hostname resolution (which is part of his IP6NS grant) finally merged.
  • Stefan Seifert fixed an issue in the profiler that could cause a segfault.
  • Daniel Green fixed an issue in the profiler with exclusive times potentially underflowing.
  • Jan-Olof Hendig fixed an initialization issue caught with valgrind.
  • Paweł Murias fixed various issues on the Javascript backend, in preparation for the final report on his TPF grant.
  • Elizabeth Mattijsen made all of the Buf.write- methods return the invocant, for easier chaining. And added support for calling these methods on Buf type objects, for easier creation of Bufs from scratch.
  • And some smaller fixes and improvements.

Questions about Perl 6

Meanwhile on Twitter

Meanwhile on Facebook

Perl 6 in comments

Perl 6 Modules

New modules:

Updated modules:

Winding Down

A quiet week, with one more week to go on voting on the rename of Perl 6. See you all next week with more news about the Perl 6 Programming Language!

2019.39 With A Lump

Jonathan Worthington explains why he got a lump in his throat when he approved changing the name of “Perl 6” to “Raku”. Feelings that yours truly (like many others) only can share. (/r/perl, /r/perl6 comments). Andrew Shitov also shared his feelings about renaming the Perl 6 Programming Language (/r/perl6, Facebook comments).

Video Tutorials

Yanzhan Yang, a serial tech video uploader, has posted some more Perl 6 introductory videos on YouTube:

Amazing!

Faster Continuous Integration

Tony O’Dell has created a walk through on how to do Continuous Integration with Circle CI and Travis CI, using a Docker image.

The power of base

Shred_Alert describes the magic of base.

Perl Weekly Challenge #27

Blog posts with Perl 6 solutions for Challenge #27:

Simon Proctor is the champion of week 27! And as usual, Challenge #28 is up for your perusal.

Core Developments

  • Jan-Olof Hendig fixed a few C-scoping issues in MoarVM and a potential segfault when closing STDIN.
  • Stefan Seifert fixed a potential memory corruption issue with spesh plugins and Garbage Collection.
  • Timo Paulssen fixed an interface problem between the profiler and Comma.
  • Elizabeth Mattijsen made it possible to subclass the Proxy, allowing one to more easily create custom containers. And she sped up a lot of Cool methods.
  • And some smaller fixes and improvements.

Questions about Perl 6

Meanwhile on Twitter

Meanwhile on Facebook

Meanwhile on perl6-users

Perl 6 in comments

Perl 6 Modules

New modules:

Updated modules:

Winding Down

It appears there will be no Rakudo 2019.09 compiler release. Which makes sense since it’s almost October. Check out the Perl 6 Weekly next week for more news about this and many other things!

2019.38 For Else Itch

Damian Conway had an itch, and he scratched it in “Itch.scratch()“. An extensive treatise on how to extend the Perl 6 Programming Language, giving the for loop an else block to be executed only if no iterations were done in the for loop. In less than 25 lines! (Reddit comments).

Video Tutorials

Yanzhan Yang has posted a number of Perl 6 introductory videos on YouTube, maybe the first of many to come:

Yanzhan Yang appears to be a serial tech video uploader (Reddit comments).

Atomic Units

Steve Roe explains his thoughts on seamlessly supporting atomic units in the Physics::Measure Perl 6 module.

Perl 6 at LPW

These presentations about Perl 6 are currently planned to be given at the next London Perl Workshop:

It’s not too late to submit your presentation!

Perl Foundation News

The Perl Foundation is nominating Pete Krawczyk as Treasurer. Many thanks to Dan Wright for having filled this position for so many years.

And there is a grant proposal for curating the Perl 6 documentation, a continuation of earlier work by JJ Merelo.

Please leave your comments, if you have any of course!

What’s in a name?

Sven Gregori investigated several open source projects with naming issues, Perl 6 just being one of them (/r/perl, /r/perl6 comments).

Perl Weekly Challenge #26

Blog posts with Perl 6 solutions for Challenge #26:

Yet Ebreo is the champion of week 25! And as usual, Challenge #27 is up for your perusal.

Core Developments

  • Timo Paulssen fixed an issue with the int type cache on MoarVM.
  • Stefan Seifert fixed several issues around thread destruction.
  • Ben Davies fixed an issue on the CStr REPR’s copy_to function.
  • Patrick Böker implemented the --nqp-home and --perl6-home configuration options.
  • And some smaller fixes and improvements.

Questions about Perl 6

Meanwhile on Twitter

Meanwhile on Facebook

Meanwhile on perl6-users

Perl 6 in comments

Perl 6 Modules

New modules (some of them were missed previously because of not having been uploaded to CPAN):

Updated modules:

Winding Down

A quiet week yet again, while work has started on finalizing the next Rakudo compiler release. Hope to be able to report on that next week. Until then, program safely and have fun!

2019.37 Progressinging

Timo Paulssen published a report about his work on the MoarVM Heap Snapshot Profiler of the past months. This is an excellent tool that is already being used by MoarVM / Rakudo core developers to track resource usage in Perl 6 programs. Glad to see such progress!

About the export trait

Sterling Hanenkamp delved into the specifics of the is export trait (Reddit comments).

Using Perl 6 Online

Andrew Shitov has made his book “Using Perl 6available for online perusing (Reddit comments).

Expression Backend Maturation

Bart Wiegmans presented his (for now) Final Grant Report on the MoarVM JIT Compiler Expression Backend Maturation grant. Too bad not all goals were met, but in general everybody is happy with the progress.

Perl Weekly Challenge #25

Blog posts with Perl 6 solutions for Challenge #25:

Challenge #26 is up for your perusal.

Core Developments

Developments of the past 3 weeks:

  • Jan-Olof Hendig found a missing break statement in MoarVM with Coverity.
  • JJ Merelo supervised / helped a lot with upgrading the documentation processing and generation system, mainly around this issue.
  • Vadim Belman continued his extensive work on re-imagining the MoarVM / NQP / Rakudo build system, making sure the different backends share as much as possible. He also improved the handling of multiple language versions in Perl 6.
  • Timo Paulssen introduced “VM Event Subscription” that allows monitoring of VM events as they happen such as a GC, and Spesh Status. And did quite some work on the profiler and the heap-snapshotter.
  • Stefan Seifert (again) fixed a number of possible memory corruptions in MoarVM.
  • Jonathan Worthington fixed and tweaked spesh logging to regain some lost execution speed. He also made sure that when running with MVM_HASH_RANDOMIZE=0 that really no hash randomization will occur. And fixed issues with exception propagation in threaded programs and external programs segfaulting.
  • Daniel Green fixed a memory leak when reading invalid UTF8 data and silenced some clang warnings.
  • Bart Wiegmans optimized de-optimizations and fixed some failing qregex testcases.
  • Christian Bartolomäus improved some error messages on the JVM backend.
  • Paweł Murias fixed some bugs on the Javascript backend.
  • Peter du Marchie van Voorthuysen fixed various issues with vows on Promises.
  • And many other smaller fixes and improvements!

Questions about Perl 6

Meanwhile on Twitter

Meanwhile on Facebook

Meanwhile on perl6-users

Perl 6 in comments

Perl 6 Modules

New modules:

Updated modules:

Winding Down

A week with a lot less happening for yours truly. Meanwhile, developments on the build system are simply staggering. As well as stability improvements. Looking forward to reporting more of these next week!

2019.35/6 Ovid Trepidated

With a tweet, Curtis “Ovid” Poe made it known to the world that he had written up his view on the proposal to rename Perl 6. And from then, it went sort of viral in the IT community with comments / mentions in: Hacker News, /r/perl, /r/perl6, PerlMonks, The Register, Lobsters, Slashdot, Developpez (French), Heise (German), Opennet (Russian), Blognone (Thai), I-Programmer, Technologik (French), SD Times, Packt. And probably many more places.

Meanwhile, the associated Pull Request is almost ready for the voting procedure.

Call for Grant proposals

Less than a week left to come up with your Grant Proposals for the September 2019 round of grants from The Perl Foundation.

Red Squashathon

Last weekend saw a squashathon dedicated to helping with documention of Red (a Perl 6 ORM). The squashathon was a success in setting up the documentation for Red, and the winner is Xliff!

Implementing GB2312

Somehow, ZhongnianTao‘s blogpost about implementing the GB2312, has fallen through the cracks. Still a good read about the complexities of this mapping!

Why Perl 6 has graphemes

A very extensive treatise about the length of emoji’s by Henri Sivonen: it mentions Perl 6. It’s a long read, but should give you an appreciation about the torture that Perl 6 developers have gone through to give you grapheme support.

Perl 6 or math?

Aaron Sherman elaborated on calculating e with a Sigma class and some more magic, allowing 1 + Σ(1, ∞, 1∕*!) to actually work!

Closures tutorial

Aaron Sherman also started a tutorial about closures in Perl 6.

Via the cubes

Andrew Shitov also mentioned that 42 can be expressed as the sum of three cubes. Which, contrary to many other programming languages, works out of the box with the Perl 6 Programming Language.

Perl Weekly Challenge #23

Blog posts with Perl 6 solutions for Challenge #23:

Damian Conway published a blog titled “To compute a constant of calculus (A treatise on multiple ways) in response to challenge #21.

Perl Weekly Challenge #24

Blog posts with Perl 6 solutions for Challenge #24:

Challenge #25 is up for your perusal.

Core Developments

Will be catching up on this next week.

Questions about Perl 6

Meanwhile on Twitter

Meanwhile on Facebook

Meanwhile on perl6-users

Perl 6 in comments

Perl 6 Modules

New modules:

Updated modules:

Winding Down

After enjoying some rest and relaxation in Ireland and Scotland (yes, whisky distilleries were visited), it was good to be back home again. And what a two weeks it has been online! Good to see so many new Perl 6 modules. Hope to see many more next week!