Fwd: [Haskell-cafe] ANNOUNCE: feldspar-language

Tom Hawkins tomahawkins at gmail.com
Thu Nov 19 21:55:29 EST 2009

---------- Forwarded message ----------
From: Tom Hawkins <tomahawkins at gmail.com>
Date: Thu, Nov 19, 2009 at 9:31 PM
Subject: Re: [Haskell-cafe] ANNOUNCE: feldspar-language
To: Emil Axelsson <emax at chalmers.se>

On Thu, Nov 19, 2009 at 5:58 PM, Emil Axelsson <emax at chalmers.se> wrote:
> Hi Tom, thanks for the code!
> Is my understanding correct that `filter` in the C code performs evaluation
> of one cycle, and someone else will take care of calling it repeatedly on
> the input stream?

This is correct.  In our application there is no buffered steam.
Instead this code is processing data immediately after it is sampled
by the ADCs; in our case once every 1ms.

> Is there a way to avoid rolling out the summation loops fully?

Yes, but only by creating a custom primitive (see 'action').  But then
you're writing in C, not Atom.

More information about the Haskell-Cafe mailing list