UArray question....

heron_carvalho heron_carvalho at
Mon Oct 27 01:33:13 EST 2003

Dear colleagues,
   In GHC/FFI, is there some way (is it possible ?) to 
access DIRECTLY an array of UArray type (immutable) in a 
sequential contiguous memory buffer (in C side, for 
example) without to need to copy the array elements one 
by one ? GHC hackers and implementors are wellcome... :-) 
My interest is to transmit the array over a network using 
MPI, but avoiding marshalling overheads. 
    It is easy to do this with StorableArray's in the IO 
monad, of course, but I need to use UArray.
Heron de Carvalho

Acabe com aquelas janelinhas que pulam na sua tela.
AntiPop-up UOL - É grátis!

More information about the Glasgow-haskell-users mailing list