Wed Jul 9 14:02:19 CEST 2008
That DSP language: fanout
Thinking about the particular problem of writing the sobel algorithm
in combinator form, doing this in stack notation makes me miss a
``parallel'' function mapper. Basicly, a 'distribute' operation.
The essential problem is that a lot of DSP algorithms are many -> many
maps: they are far from linear (single use of variables), and are
quite parallel. To solve this, combinators need to do the duplication
and parallel application. (anamorphism followed by catamorphism).
It might be interesting to allow for code quotations to be
parallel. I.e. a list of functions can be interpreted as a
composition, or as a parallel application: It's useful to have a
vector of functions/closures.