Re: fork and ghc

2006-08-09 Thread skaller
On Wed, 2006-08-09 at 16:26 -0700, John Meacham wrote: > on another topic, I ran across this old paper online which gives an > exceedingly clever method of implementing a functional language compiler > doing real garbage collection and efficient tail calls in portable C > http://home.pipeline.com

Re: fork and ghc

2006-08-09 Thread John Meacham
On Wed, Aug 09, 2006 at 10:15:45AM +0100, Simon Marlow wrote: > We provide System.Posix.forkProcess, which is a "controlled" version of > fork. It probably works ok in the single-threaded runtime, but I'd say it's > probably slightly dubious in the threaded runtime especially if you're > plannin

Re: fork and ghc

2006-08-09 Thread Simon Marlow
John Meacham wrote: I want to modify jhc to take advantage of mutiple CPUs to help mitigate its prodigious computational requirements and was curious how well ghc compiled programs deal with forking? my initial plan is that once jhc determines which modules need to be recompiled, it will fork(2)

fork and ghc

2006-08-08 Thread John Meacham
I want to modify jhc to take advantage of mutiple CPUs to help mitigate its prodigious computational requirements and was curious how well ghc compiled programs deal with forking? my initial plan is that once jhc determines which modules need to be recompiled, it will fork(2) off processes down ea