Skip to main content

Search

Items tagged with: PDL


A couple of data/compute intensive examples using Perl Data Language (#PDL), #OpenMP, #Perl, Inline and #Python (base, #numpy, #numba). Kind of interesting to see Python eat Perl's dust and PDL being equal to numpy.

OpenMP and Perl's multithreaded #PDL array language were the clear winners here.


https://chrisarg.github.io/Killing-It-with-PERL/2024/07/06/The-Quest-For-Performance-Part-I-InlineC-OpenMP-PDL.html

https://chrisarg.github.io/Killing-It-with-PERL/2024/07/07/The-Quest-For-Performance-Part-II-PerlVsPython.md.html

submitted by /u/ReplacementSlight413
[link] [comments]


. @leonerd

I saw your post here about extensible syntax <https://www.nntp.perl.org/group/perl.perl5.porters/2024/03/msg268067.html> and mentioned it to the #PDL team because we have a module called NiceSlice that implements a variable postfix syntax using a source filter. This obviously has problems for complex code.

We'd like something more robust and were wondering if you had any thoughts about ways we could not use a source filter and still get this working (in a lexical scope of course).

#perl


#github repo for some of my confused benchmarks of #pdl in #perl.
https://github.com/chrisarg/storePDL

This formed the basis of the post below
https://mstdn.science/@ChristosArgyrop/111390899840374127

There is a nice #preprint going over #pdl its inline module PP and inline #clang
https://arxiv.org/abs/1702.07753

The preprint and my rudimentary benchmarks argue for revisiting #perl for #datascience applications.

Incidentally, running the benchmark under #WSL in #Windows11 gives the same performance as running it under #Ubuntu.
@Perl


@genio
I'll try! I saw the messages in both the #win32 and #pdl IRC channels earlier, but didn't have time to follow the debugging process myself. Catching up now.