Re: Optimizing Haskell programs is hard

1997-10-17 Thread Simon L Peyton Jones
You are right to be "bugged" (see your last para). Fortunately, ghc 2.09 (i.e. our current working copy) gives identical runtimes for all three. (Might be true of 2.08; I haven't tried.) Simon I'm benchmarking MVar's and other shared memory abstractions, e.g. by accessing a variable a

Re: Building ghc-2.05 on an HP (or not).

1997-10-17 Thread Alex Ferguson
We don't have direct access to any HPs here at Glasgow right now, but I recall running into this way back with 2.02. Hrm. 2.02 built fine for me, though. In fact, 2.07 actually _built_: and then crashed, as per Sven's experiences. I'll look into your suggestion, tomorrow... when I'm sober.

mkdependHS trouble in 2.08

1997-10-17 Thread Sven Panne
There's a small bug in distrib/Makefile-bin.in: mkdependHS wants to know SED and RAWCPP, but the relevant lines are not prepended by "configure ; make install". This happens (resp. does *not* happen :-) at the config-pkgs target. -- Sven PanneTel.:

Optimizing Haskell programs is hard

1997-10-17 Thread Einar Wolfgang Karlsen
This is not really a bug ... but. I'm benchmarking MVar's and other shared memory abstractions, e.g. by accessing a variable a number of times: main :: IO () main = do { v - newMVar 0; access v 1000 } where access v 0 = print "done" -- 1) access v n = do {swapMVar v n;

Re: mkdependHS trouble in 2.08

1997-10-17 Thread Simon Marlow
Sven Panne [EMAIL PROTECTED] writes: There's a small bug in distrib/Makefile-bin.in: mkdependHS wants to know SED and RAWCPP, but the relevant lines are not prepended by "configure ; make install". This happens (resp. does *not* happen :-) at the config-pkgs target. Right. You need to

Re: ghc-2.08: can't build parallel

1997-10-17 Thread Hans Wolfgang Loidl
Hi Fuad, making a parallel version on ghc-2.08 breaks under irix6.2 with the Yes, there are several #ifndef __PARALLEL_HASKELL__ lines missing in the libraries of ghc-2.08. In general, all references to ForeignObjs have to be ifdefed out in a parallel aka GUM (_mp) setup, but they can be left

Re: making a binary distribution of ghc-2.08

1997-10-17 Thread Simon Marlow
Sven Panne [EMAIL PROTECTED] writes: * lit-deatify forgets to allocate a buffer for a file name, so building the documentation failed from time to time. This is a bug from the "how-did-this-ever-work?"-category. You need flex to rebuild lit-deatify.c from lit-deatify (or

Re: -O in ghc-2.08-linux-i386

1997-10-17 Thread Simon L Peyton Jones
Joining these modules into *one* module Main (main) where ... and compiling with -O gives 6.1 sec. This is the *only* situation, I found -O working. Thus, if we set then `Main (main,test) where' - just for curiosity - we return to 70 sec. GHC 2.08