On Wed, Sep 24, 2008 at 7:49 AM, Sriram Durbha <[EMAIL PROTECTED]> wrote:

> it is a kind of folk lore that Haskell is not for numerically heavy code, do
> it in C and use FFI.  Well has any one tried? and proved beyond doubt that
> FFI is the only way to go?

An alternative might be to use Haskell to represent computations which
are then compiled using bos's LLVM bindings. I think it could
sometimes end up faster than using lapack bindings because we'd have
code tailored for specific tasks. For example, sequences of DAXPY()
type operations could be 'fused' into single loops making for much
better cache coherence. (Compare with C++'s Blitz library which
achieves this kind of 'fusion' via template metaprogramming.)
--
Dan

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to "Bay Area Functional 
Programmers"  
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/bayfp?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to