Perl Data Language 2.4.10 released
First time accepted submitter tonique writes "Perl Data Language (PDL) 2.4.10 has been released. Highlights of the new release are automatic multi-thread support, support for data structures larger than 2 GB and POSIX threads support. Also available is the first draft of the new PDL book. PDL is especially suitable for scientists. For those not in the know, 'PDL gives standard Perl the ability to compactly store and speedily manipulate the large N-dimensional data arrays which are the bread and butter of scientific computing.' Commercial languages used for the same purpose include MATLAB and IDL."
really... no other comments on this one? science is apparently ded.
Fill in the missing word.
PDL: the computational power of Matlab, octave, IDL and NumPy with the __________ of Perl!
My first program:
Hell Segmentation fault
the python equivalent to PDL is NumPy
There's no need for comments as this is a rare article summary that actually tells you what you want to know. Bravo!
Author of Enyo: Up and Running from O'Reilly Media
Would someone using PDL in practice give examples of where it is used ? The scientific Python ecosystem has grown so well that I hadn't heard of PDL since a long time.
Oh Perl, what CAN'T you do?!
- For the complete works of Shakespeare: cat
Obviously, I forgot to include a link to the the actual PDL site. Sorry about that.
I'm personally using PDL in the context of environmental noise measurements; I get long series of numbers and need to sum (and handle them in other ways) efficiently. Why, then, PDL and not numPy or something else? It stems from the fact that I had used Perl for scripting and text handling earlier. Also, I wasn't required to use something else. So laziness is a rather strong reason. Perhaps I was also a lost cause (that's perhaps a wrong phrase?) because I had started with Perl already.
I'm a firm believer in "use a tool suitable for the purpose", so I use R for statistical things. I shudder at all the things Excel, a prime example of a tool exploitable for multiple purposes, is used by my co-workers...
with the TMTOWTDI of Perl!
with the fluidity of Perl!
with the my's and sigils of Perl!
Then again, Perl is an acquired taste even for me.
There's some new language syntax features. Here's what is looks like: %£T$%£$%"^%"
Personally I like HDF5. Compact, fast, can be read/written in parallel, bindings to many languages. A bit of a pain to learn at first, but well worth it.
I was happy to be reading /. on my lunch break and see PDL mentioned. I use PDL and am glad to see it get some notice.
I am disappointment in the comments so far though. The anti-Perl froth is strong in this thread and I am not sure why?
Here is my point of view:
-Use whatever programming language suits you and your task the best. Maximize for total productivity which is a function of both of these things in varying degrees.
-Perl suits me best, personally, as a comfortable tool This is kind of squishy...it just feels right to me. MANY MANY people agree with me. But maybe you don't. meh.
-My tasks involve (a) parsing data from a variety of sources and (b) number crunching. Perl is already fantastic at (a). PDL makes Perl fantastic at (b).
-The people behind PDL use it for even more numerically complex tasks than I. Check out the docs and mailing lost archives and see. http://pdl.perl.org/?page=mailing-lists
-If you are already writing code in C, Python, Fortran or whatever else than you should stick with it. Moving over to PDL just because it exists doesn't make any sense, of course.
Now, as a Perl and PDL user could someone please explain to me the string visceral reaction shown by people in these comment threads whenever it is mentioned? Did Larry Wall challenge you to a bar fight once or something? (Probably not, I met him once and he doesn't seem like a bar fight kind of guy.)
For shortly it will bear the burden of millions upon millions of lines of FORTRAN written in Perl.
Stick Men
So, essentially it's only a problem if you are a human being, or constantly interact with human beings.
OK thats why the the most Advanced Spherical Harmonic Dynamics ever written were were written in perl/PDL
check this out http://www.youtube.com/watch?v=N9RsCQKxom4
I have noticed that in these Python v Perl flamewars the vitriol seems to be only one way.
PythonGuy: Perl sucks and it sucks some more
PerlGuy: They both are good, you should use what you like
PythonGuy: But Perl still sucks
I'm sick of it, I don't want to look at your awful list comprehensions or write lambdas! You call those readable? And good job blowing up all the Python2 code when moving to Python3. Wait the extensions don't move from interpreter to interpreter? Yeah you really have a superior language there.
In truth I don't care which language you use, but this bashing is ridiculous.
Good Job PDL devs keep it up. You too NumPy devs! All you slashdot f******s go learn a real language, try INTERCAL, leave me alone.