Readit News logoReadit News
Enk1du · 8 months ago
What could be described as Numpy for Perl, PDL was released in 1996 and is now seeing a resurgence of interest. The Advent Calendar showcases some of its features in a festive mood.
smartmic · 8 months ago
> PDL was released in 1996 and is now seeing a resurgence of interest

Where do you see that happening? I would like to see such thing, but my own experience and the general feeling is that this is not within reach.

Enk1du · 8 months ago
For me, it's the acceleration of development in the last 5 years as seen in the Changes file. It's now releasing new versions almost every month.

https://github.com/PDLPorters/pdl/blob/master/Changes

Qem · 8 months ago
Is it ported to Raku already?
Enk1du · 8 months ago
Nothing stopping anyone from using Inline::Perl or NativeCall [0]. I'd like to see Raku's concurrency model working on these data structures. Otherwise there's always PDL::ParallelCPU [1]

[0] https://docs.raku.org/language/nativecall [1] https://metacpan.org/pod/PDL::ParallelCPU

anthk · 8 months ago
For these kind of cases, guix looks like the best platform to set PDL under either an ad-hoc environment or a container, and much lighter and secure than Docker itself.