From mark at purdue.edu Sun Aug 2 09:07:40 2020 From: mark at purdue.edu (Mark Senn) Date: Sun, 02 Aug 2020 12:07:40 -0400 Subject: [Purdue-pm] Raku (Perl 6) study group Message-ID: <23417.1596384460@pier.ecn.purdue.edu> On Fri, Jul 31, 2020 at 9:55 AM Joseph Brenner wrote: > As usual, on Sunday afternoon at 2pm Pacific Standard Time, we're > going to be doing our usual Raku study group... since we're zooming > 'em these days there's no reason not to publicize them wider: > > https://www.meetup.com/San-Francisco-Perl/events/272258217/ > > These tend to be intermediate level discussions playing with whatever > someone brings up... the questions we come up with often find their > way here, so if any of you experts felt like dropping by for twenty > minutes you might clear them up faster. In my opinion Raku is a much better tool than Perl 5. Just like Mathematica is a much better tool than MATLAB. -mark From mdw at purdue.edu Sun Aug 2 09:44:27 2020 From: mdw at purdue.edu (Mark Daniel Ward) Date: Sun, 2 Aug 2020 12:44:27 -0400 Subject: [Purdue-pm] Raku (Perl 6) study group In-Reply-To: <23417.1596384460@pier.ecn.purdue.edu> References: <23417.1596384460@pier.ecn.purdue.edu> Message-ID: <4df4e61c-0d0a-26a2-3afd-71ebb0314b9d@purdue.edu> Dear Mark, Mathematica and MATLAB are apples and oranges. Mathematica and Maple are much better for symbolic computing than MATLAB, but I think MATLAB is much, much better suited than either of these for numerical computation, i.e., for numerical work with pde's, computing on a mesh, etc.? These are totally different types of tools.? As different as a saw versus a hammer. It seems like Raku and Perl 5 are shaping up to be pretty different tools too, right?? Perhaps much more similar to each other than Mathematica and MATLAB. Mark On 8/2/20 12:07 PM, Mark Senn wrote: > On Fri, Jul 31, 2020 at 9:55 AM Joseph Brenner wrote: >> As usual, on Sunday afternoon at 2pm Pacific Standard Time, we're >> going to be doing our usual Raku study group... since we're zooming >> 'em these days there's no reason not to publicize them wider: >> >> https://www.meetup.com/San-Francisco-Perl/events/272258217/ >> >> These tend to be intermediate level discussions playing with whatever >> someone brings up... the questions we come up with often find their >> way here, so if any of you experts felt like dropping by for twenty >> minutes you might clear them up faster. > In my opinion Raku is a much better tool than Perl 5. > Just like Mathematica is a much better tool than MATLAB. > > -mark > _______________________________________________ > Purdue-pm mailing list > Purdue-pm at pm.org > https://mail.pm.org/mailman/listinfo/purdue-pm From mark at ecn.purdue.edu Sun Aug 2 12:42:27 2020 From: mark at ecn.purdue.edu (Mark Senn) Date: Sun, 02 Aug 2020 15:42:27 -0400 Subject: [Purdue-pm] Raku (Perl 6) study group In-Reply-To: <4df4e61c-0d0a-26a2-3afd-71ebb0314b9d@purdue.edu> References: <23417.1596384460@pier.ecn.purdue.edu> <4df4e61c-0d0a-26a2-3afd-71ebb0314b9d@purdue.edu> Message-ID: <35697.1596397347@pier.ecn.purdue.edu> | Dear Mark, | | Mathematica and MATLAB are apples and oranges. | | Mathematica and Maple are much better for symbolic computing than | MATLAB, but I think MATLAB is much, much better suited than either of | these for numerical computation, i.e., for numerical work with pde's, | computing on a mesh, etc.? These are totally different types of | tools.? As different as a saw versus a hammer. | | It seems like Raku and Perl 5 are shaping up to be pretty different | tools too, right?? Perhaps much more similar to each other than | Mathematica and MATLAB. | | Mark I no longer use MATLAB. Everything I did in MATLAB I now do in Mathematica. It seems to work fine for me for everything I've tried. Mathematica was much harder to learn than MATLAB but the payoff has been much bigger. I wish Mathematica had LaTeX-based notebooks though. I really like all the data conveniently available from Mathematica, see https://datarepository.wolframcloud.com for more info on that. Raku and Perl 5 do basically the same tasks in my opinion---Perl 5 has a lot more authors and modules in CPAN (Comprehensive Perl Archive Network) than is currently available for Raku. Raku has everything I need now plus some stuff I don't use now but doesn't get in the way because it doesn't conflict with what I do use. One big feature of Raku that is not built-in to Perl 5 is grammars (see https://docs.raku.org/language/grammars). I've done a very simple test using those but expect to use them for real work later. My guess is that will greatly reduce the amount of work I need to do. In short I'd characterize the problems that can be solved using MATLAB as a subset of what can be done in Mathematica. I haven't done benchmarks to see which is faster. Same for Perl 5 and Raku. Raku has lots of odd things that were in Perl 5 fixed. Raku has invariant sigils. For example in Perl 5, @array is an array and $array[1] is the second element of @array. In Raku, @array is an array and @array[1] is the second element of @array. A lot of things are easier in Raku, it has more and more flexible syntax. -mark From mark at purdue.edu Mon Aug 10 08:18:06 2020 From: mark at purdue.edu (Mark Senn) Date: Mon, 10 Aug 2020 11:18:06 -0400 Subject: [Purdue-pm] On Perl 7 and the Perl Steering Committee Message-ID: <17766.1597072686@pier.ecn.purdue.edu> The "On Perl 7 and the Perl Steering Committee" document starts with For those who are wondering about the state of the proposed Perl 7 fork and the role of the newly formed Perl Steering Committee, Ricardo Signes has put together a detailed explanation that is worth a read. For the complete Perl 7 document see https://lwn.net/Articles/828384 Remember: Perl 7 is planned to based on Perl 5. Perl 6 was designed and written from scratch and is now known as Raku. Programming in Raku "feels like" programming in Perl 5 or Perl 7. I like Raku much better than Perl 5 or Perl 7. -mark