
26 Oct
2003
26 Oct
'03
10:33 p.m.
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/