PDL-Graphics-Gnuplot VS mce-cookbook

Compare PDL-Graphics-Gnuplot vs mce-cookbook and see what are their differences.

PDL-Graphics-Gnuplot

Gnuplot-based plotting backend for PDL (by PDLPorters)

mce-cookbook

Cookbook for Many-Core Engine (by marioroy)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
PDL-Graphics-Gnuplot mce-cookbook
1 1
8 6
- -
7.8 0.0
14 days ago over 4 years ago
Perl
GNU General Public License v3.0 or later GNU General Public License v3.0 or later
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

PDL-Graphics-Gnuplot

Posts with mentions or reviews of PDL-Graphics-Gnuplot. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-06-08.
  • Scientific Computing with Perl
    5 projects | news.ycombinator.com | 8 Jun 2021
    Here is a link to the PDL book <http://pdl.perl.org/content/pdl-book-toc.html>.

    I can share some examples of using PDL:

    - Demos of basic usage <https://metacpan.org/release/ETJ/PDL-2.050/source/Demos/Gene...>

    - Image analysis <https://nbviewer.ipython.org/github/zmughal/zmughal-iperl-no...> (I am also the author of IPerl, so if you have questions about it, let me know. My top priority with IPerl right now is to make it easy to install.)

    - Physics calculations <https://github.com/wlmb/Photonic>

    - Access to GSL functions for integration and statistics (with comparisons to SciPy and R): <https://gist.github.com/zmughal/fd79961a166d653a7316aef2f010...>. Note how PDL can take an array of values as input (which gets promoted into a PDL of type double) and then returns a PDL of type double of the same size. The values of that original array are processed entirely in C once they get converted to a PDL.

    - Example of using Gnuplot <https://github.com/PDLPorters/PDL-Graphics-Gnuplot/blob/mast...>.

    ---

    Just to give a summary of how PDL works relative to XS:

    PDL allows for creating numeric ndarrays of any number of dimension of a specific type (e.g., byte, float, double, complex double) that can be operated on by generalized functions. These functions are compiled using a DSL called PP that generates multiple XS functions by taking a signature that defines the number of dimensions that the function operates over for each input/output variable and adding loops around it. These loops are quite flexible and can be made to work in-place so that no temporary arrays are created (also allows for doing pre-allocation). The loops will run multiple times over that same piece of memory --- this is still fast unless you have many small computations.

    And if you do have many small computations, the PP DSL is available for the user to use as well so if they need to take a specific PDL computation written in Perl, they can translate the innermost loop into C and then it can do the whole computation in one loop (a faster data access pattern). There is a book for that as well called "Practical Magick with C, PDL, and PDL::PP -- a guide to compiled add-ons for PDL" <https://arxiv.org/abs/1702.07753>.

    ---

    I'm also active on the `#pdl` IRC channel on <https://www.irc.perl.org/>, so feel free to drop by.

mce-cookbook

Posts with mentions or reviews of mce-cookbook. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-06-08.
  • Scientific Computing with Perl
    5 projects | news.ycombinator.com | 8 Jun 2021
    Good ideas!

    a)

    A built-in way would be good. There is some work being explored in using OpenMP with Perl/PDL to get some of that. In the mean time, there is MCE which does distribute across processes and there are examples of using this with PDL <https://github.com/marioroy/mce-cookbook#sharing-perl-data-l...>, but I have not had an opportunity to use it.

    b)

    Output for a spreadsheet would be difficult if I understand the problem correctly. This would more about creating a mapping of PDL function names to spreadsheet function names --- not all PDL functions exist in spreadsheet languages. It might be possible to embed or do IPC with a Perl interpreter like <https://www.pyxll.com/>, but I don't know about how easy that would be to deploy when distributing to users.

    Am I understanding correctly?

    Interestingly enough, creating a mapping of PDL functions would be useful for other reasons, so the first part might be possible, but the code might need to be written in a certain way that makes writing the dataflow between cells easier.

What are some alternatives?

When comparing PDL-Graphics-Gnuplot and mce-cookbook you can also consider the following projects:

numpysane - more-reasonable core functionality for numpy

strava - source code of my Strava API app: Excel import and export of activities, written in Perl 5

CPython - The Python programming language

Photonic - Photonic and metamaterials calculations

stats - Scripts for generating project statistics and for plotting them as graphs.