mips64 and gmp observation

2003-10-26 Thread Donald Bruce Stewart
Hey all, Some mips64 and gmp observations: The normal way, unregisterised, with the in-tree gmp, v3.1.1: OVERALL SUMMARY for test run started at Fri Oct 24 17:17:56 PDT 2003 1070 total tests, which gave rise to 1070 test cases, of which 0 caused framework failures

Transmitting Haskell values

2003-10-26 Thread Joachim Durchholz
Hi all, sorry if it's a FAQ or I'm simply too dumb to look in the right places. What I want to do is to send Haskell values over a network to another Haskell process. Or save a Haskell value on disk and read it in in a later incarnation of the same pogram, or with a different program. Is

Re: Transmitting Haskell values

2003-10-26 Thread Hal Daume III
I think the standard way would be to use Show and Read and then send/write/rcv/read strings from the network/disk. Or you could use the Binary class to get binary representations, but these (sometimes, depending on which implementation you use) have endianness issues if you're transmitting

UArray question....

2003-10-26 Thread heron_carvalho
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

Question about profiling in GHC...

2003-10-26 Thread Heron
Dear GHC users, I am using GHC profilling tooland I think you can help me to answer a (apparently) simple question: When I compilemy program without "-prof -auto-all" option (no profiling support),its execution time is about 140s (compiled with -O2). When compiled with profiling

Re: UArray question....

2003-10-26 Thread Hal Daume III
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