2022.28 Announciations

The announcements of presentations of the second Raku Conference on 13-14 August 2022, keep coming in. So far, the following presentations have been accepted:

But that’s not nearly enough yet! So please consider submitting a presentation proposal, if you are:

  • a module developer, wanting more exposure for your module
  • a user, telling about how you use Raku yourself
  • a core developer, explaining newer or older core features
  • or simply have a wacko idea that you need to talk about!

Formats are lightning talk (5 minutes), short presentation (20 minutes), presentation (45 minutes), tutorial, class and workshop.

Documentation Meetup

The minutes of the online meeting of the documentation team on 9 July, are online. You can always check the #raku-doc IRC channel for more information about the documentation effort.

Anton’s Corner

Anton Antonov continues to be on a roll yet again this week, with two blog posts:

Steve’s Corner

Steve Dondley went spelunking in their code with Rockin’ with Raku – A Detailed Walk Through of Code for Finding Specific Prime Numbers (/r/rakulang comments).

Wenzel’s Corner

Wenzel P.P. Peppmeyer was in search of truth this week in The truth is a hard problem as a response on Steve Dondley‘s post (/r/rakulang comments)!

Steven’s Corner

Steven Lembark has updated their slide deck from a 2016 presentation to Raku: Climbing a Tree – Refactoring FindBin::libs for Raku.

Did You Know?

That you can use map as an alternative to grep?

my @a = ^10;
say @a.grep: * %% 2;  # (0 2 4 6 8)
say @a.map: { $_ if $_ %% 2 }  # (0 2 4 6 8)

This is possible because a failed if (or with or elsif or etc…) will return Empty, which will cause the iterator to just skip that value. How can you check that? With do!

dd do if 0 { }  # Empty

As to why you would use map over grep? Well, map‘s handling of Empty is highly optimized, causing the same code with map to be up-to 2x as fast as using grep. But note, this only affects the overhead of iterating: if your code inside the grep or map is very expensive, you won’t see much difference!


Weekly Challenge #173 is available for your perusal.

New Pull Requests

Core Developments

  • Vadim Belman optimized the coercion protocol using the new dispatch mechanism, resulting in up-to 3x as fast handling of simple coercions.
  • Elizabeth Mattijsen implemented subroutine versions of the head, skip and tail logic on iterables (allowing them to be used with ==> aka the feed operator). And made the sub versions of elems and end 3x as fast for native arrays.
  • Stefan Seifert continued working on the RakuAST branch, without any immediately visible results (but looking very promising generally).

Questions about Raku

Meanwhile on Twitter

Meanwhile on the mailing list

Comments about Raku

New Raku Modules

  • Text::Plot “A package for textual (terminal) plots” by Anton Antonov.
  • FeiShuBot “Custom bot for feishu” by ohmycloud.
  • APISports::Football “A Raku module for interfacing with API Sports Football” by Siavash Askari Nasr.
  • Data::UkraineWar::MoD “Scrape and analyze Ukraine Ministry of Defense Data” by JJ Merelo.
  • snip “Provide functionality similar to Haskell’s span” by Elizabeth Mattijsen.
  • UK::Sort “Sorts by Ukrainian alphabet” by Andrij Mizyk.

Updated Raku Modules

Winding down

Wow, yet another nice crop of new modules! Keep them coming 🙂

This week’s image was made enjoying a small bike ride in the neighborhood. It is there to remind us to support Ukraine in their fight against the Russian aggression. Слава Україні!  Героям слава!

In the mean time, please stay safe, stay healthy, keep up the good work! ‘Rona is most definitely not over yet.

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 )

Twitter picture

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

Facebook photo

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

Connecting to %s