develooper Front page | perl.perl6.users | Postings from January 2022

Re: shell to raku

Thread Previous
Andy Bach
January 3, 2022 15:48
Re: shell to raku
Message ID:
> raku is now my tool of choice when
* manipulexity is important

I had to look it up
Larry Wall: Manipulexity and Whipuptitude - Fortune
If you were a Unix programmer you either programmed in C or shell. And there really wasn't much in between. There were these little languages that we used on top of shell, but that was the big divide. The big revelation that hatched Perl, as it were, was that this opened up into a two-dimensional space. And C was good at something I like to call manipulexity, that is the manipulation of complex things. While shell was good at something else which I call whipuptitude, the aptitude for whipping things up.

So Perl was hatched. As a small egg. That was Perl 1. And it was designed from the very beginning to evolve. The fact that we put sigils in front of the variables meant that the namespaces were protected from new keywords. And that was intentional, so we could evolve the language fairly rapidly without impacting.

And it evolved… And it evolved… And finally we got to Perl 5. And… So… Perhaps the Perl 6 slogan should be "All Your Paradigms Are Belong To Us". We'll get to that.
From: Marc Chantreux <>
Sent: Friday, December 31, 2021 7:43 AM
To: Wesley Peng <>
Cc: perl6-users <>
Subject: shell to raku


Le Fri, Dec 31, 2021 at 01:20:45PM +0000, Wesley Peng a écrit :
> Replacing Bash scripts with Raku? That’s an interesting thing

Well ... replacing bash is always a good thing but raku is not
always the rhs of the substitution (could be dash/mksh/rc,
make/mk, C, ...).

raku is now my tool of choice when

* manipulexity is important
* performance is not

The way i see the talk is:

* show how to do simple things ($PATH vs $RAKULIB, ...)
* show similarities (if you're confortable with feature X,
  then raku's Y will makes you happy)
* show some pro and cons (Shell vs Raku)

> Can Linux be shipped with Raku by default?

    apt install rakudo

Is possible from the stable debian but i don't think it's a good idea
to have it as part of the default install (in a sense that there should
be nothing bigger than dash/busybox/toybox in the default install).
CAUTION - EXTERNAL EMAIL: This email originated outside the Judiciary. Exercise caution when opening attachments or clicking on links.

Thread Previous Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About