r/ProgrammingLanguages • • 1d ago

Comparing Parallel Functional Array Languages: Programming and Performance

https://www.sciencedirect.com/science/article/pii/S074373152600153X
14 Upvotes

8 comments sorted by

View all comments

8

u/Athas 20h ago edited 18h ago

I worked on this paper. Most of the work was done two years ago (and an Arxiv draft was also circulated), but we then went through the most miserable and drawn-out submission procedure I have ever experienced. I suppose we picked a fight by writing such a long and unwieldy text.

In retrospect, I think the paper focuses too much on ephemeral performance differences that are mostly due to differences in compiler quality, and which might go away if more effort was spent on the implementation. Some of the performance differences are due to more fundamental differences in the languages (e.g. whether a flattened algorithm or some manual optimisation can be expressed), and those are interesting, but they drown a bit in the mass of less interesting differences.

1

u/seg_lol 18h ago

How would you quash the differences?

2

u/Athas 18h ago

Which differences? (I had a typo in my original post: I wrote "computer differences" instead of "compiler differences". Obviously all benchmarking was on the same computer.)

For the compiler differences, I'd just put more effort into all the compiler, but I don't really think that's the interesting question. Qualitative comparisons between the languages is more stimulating, but a lot harder to do. One thing I hoped this paper would do, but doesn't really, is investigate the relationship or tension between parametric polymorphism and rank polymorphism.