I've dipped my toe in the Raku waters and can recommend Andrew Shitov's Deep Dive as a good first book for those on this list.
The one thing that I could see that Raku brings to numerical computing is concurrency[0], making parallelization easy(ish) Being able to distribute your computation over multiple cores has got to find a win from some types of problems. Also, it makes it easier to use external libraries with the NativeCall[1] interface. It calls the library (C++, python, fortran even?) directly without resorting to something like XS. The Rat type is interesting, storing numbers as numerator and denominator Ints to avoid rounding errors, but I'm not sure who's going to take advantage of it in heavy numerical situations. Sequences are lazy iterators [3] and there are types for Set theory and other math operations which could be interesting. I think you'd get a lot of millage from listing the "5 things you hate" about PDL (or numpy) and then looking through the docs and/or ask the community[4][5][6] to see if you can find a solution for any of them. Boyd [0] https://docs.raku.org/language/concurrency [1] https://docs.raku.org/language/nativecall [2] https://docs.raku.org/type/Rat [3] https://docs.raku.org/type/Seq [4] https://raku.org/community/ - they're a friendly bunch 🦋 [5] https://rakuadventcalendar.wordpress.com/ [6] https://perl6advent.wordpress.com/ On Fri, Jan 10, 2020 at 4:35 AM Karl Glazebrook via pdl-general < [email protected]> wrote: > I wanted to open a blue sky discussion. I see that Perl 6 is now renamed > as ‘Raku’ > > https://raku.org > > So camels are now butterflies. > > Seems like a good decision to me, it seems quite a different language > syntactically and makes clear there will be different paths for Perl vs > Raku going forward. No one will expect PDL to work on Raku for example > > Has anyone on the list had a good play with Raku? I was wondering what > features it might have that could be good for numerical computing (future > PDL like extension?). Does it offer things and features that would be hard > to achieve in numpy for example? > > Karl > > _______________________________________________ > pdl-general mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/pdl-general > -- Boyd Duffee Bring on a brand-new renaissance - TTH
_______________________________________________ pdl-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/pdl-general
