[erlang-questions] Parallel Shootout & a style question

Gleb Peregud <>
Thu Sep 4 17:09:03 CEST 2008

On Thu, Sep 4, 2008 at 5:02 PM, Kevin Scaldeferri <> wrote:
> On Sep 4, 2008, at 3:45 AM, Gleb Peregud wrote:
>> Automatic "parallelization" of lists:* will not be
>> efficient, at least without extensive compile-time (or even run-time)
>> analysis of the code (if this is possible/feasible at all).
> The work on data-parallelism in Haskell seems to suggest this is both
> possible and feasible.  There, the programmer need only mark a list for
> parallelization; the run-time then decides if it should be parallelized at
> all, how many thread to use, etc.

I see. That's very nice to hear! It would be awesome if Erlang was
capable of this :)

Btw, are lists in haskell tagged with their length? If no how the
division into chunks is done without prior knowledge of length? Is it
calculated beforehand? Isn't it too slow, since it is O(n)?

Gleb Peregud

Every minute is to be grasped.
Time waits for nobody.
-- Inscription on a Zen Gong

More information about the erlang-questions mailing list