|
GHC *is* resource hungry: msg#00054lang.haskell.glasgow.bugs
Here is a harmless little program (no recursion, no data types) which GHC doesn't manage to compile (well, the kernel kills GHC after a while on a machine with generous 512MB of main memory and 1GB of swap space). > begin next = next id > leaf k i next = next (k i) > fork k next = next (\ t u -> k (t + u)) > end x = x > main = print (begin fork fork fork fork fork fork fork fork fork fork leaf 0 > leaf 0 leaf 0 leaf 0 leaf 0 leaf 0 leaf 0 leaf 0 leaf 0 leaf 0 leaf 0 end) Both Hugs and nhc98 accept it almost immediately. Cheers, Ralf
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: building ghc from source, johago |
|---|---|
| Next by Date: | RE: GHC *is* resource hungry, Simon Peyton-Jones |
| Previous by Thread: | multiple includes in _stub.c files, Alastair Reid |
| Next by Thread: | RE: GHC *is* resource hungry, Simon Peyton-Jones |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |