2022.36 Coming in at 50

In IEEE Spectrum’s ninth annual ranking of Top Programming Languages, the Raku Programming Language comes in at #50 when weighted by trending (/r/rakulang comments)! A good trend!

Day 1 of videos

The videos of the first day of the Raku Conference 2022 have become available:

The videos of Day 2 will become available soon.

Wenzel’s Corner

Wenzel P.P. Peppmeyer looked at the difference between using once and assuming in Assuming optionality.

Did You Know?

That you can modify an unreified Seq with additional logic, conditionally?

my $seq = (^5).map: * + 1;  # store Seq unreified in a scalar

$seq = $seq.map: * ** 2 if Bool.pick;  # 50% chance of change

say $seq;  # (1 2 3 4 5) or (1 4 9 16 25)

Of course, this isn’t actually modifying an existing Seq object, but rather creating a new Seq object with the original Seq object wrapped in it. But you could think about it like that 🙂

This feature is used extensively to handle the 100+ options that can be specified with rak.

Check out the “did you know” registry, started by Wenzel P.P. Peppmeyer. Suggestions as Pull Requests welcome!

Weeklies

Weekly Challenge #181 is available for your perusal.

Core Developments

  • Stefan Seifert optimized the handling of BEGIN blocks in MoarVM.
  • yabobay made a warning (about using .contains incorrectly) clearer.
  • Elizabeth Mattijsen introduced two new features in 6.e: // foo as shorthand for foo.defined, and a snitch method / sub to more easily debug intermediate results in a chain of method calls / feed operators.

Questions about Raku

Meanwhile on Twitter

Meanwhile on the mailing list

Comments about Raku

New Raku Modules

  • Pod::Usage “extracts POD documentation to show usage information” by Leon Timmermans.
  • IO::Stem “Provides the part of an IO.basename left with the IO.extension removed” by Tom Browder.
  • Geo::WellKnownBinaryConvert WellKnownBinary to Geo::Geometry objects” by Kevin Pye.
  • Geo::WellKnownText “Convert Well Known Text to Geo::Geometry objects” by Kevin Pye.
  • Math::Angle “A class to handle geometric angles” by Kevin Pye.

Updated Raku Modules

Winding down

Again, some exciting new modules! And a new Comma version with support for new templating features!

This week’s image was again not made by yours truly, but it is there to remind us of the fragility of Ukraine in their and our fight against the Russian aggression. Слава Україні!  Героям слава!

In the meantime, please stay safe, stay healthy, keep up the good work!

If you like what I’m doing, committing to a small sponsorship would mean a great deal!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s