UArray question....
Hal Daume III
hdaume at ISI.EDU
Sun Oct 26 20:40:02 EST 2003
AFAIK, no. That's the whole point of StorableArrays. Why can't you use
these instead of UArrays?
- Hal
On Mon, 27 Oct 2003, heron_carvalho wrote:
> 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!
> http://antipopup.uol.com.br/
>
>
> _______________________________________________
> Glasgow-haskell-users mailing list
> Glasgow-haskell-users at haskell.org
> http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
>
--
Hal Daume III | hdaume at isi.edu
"Arrest this man, he talks in maths." | www.isi.edu/~hdaume
More information about the Glasgow-haskell-users
mailing list