Hmmm. Now that I've had a chance to rewatch the video, I am enlightened.
Nevertheless, I will confess that I wouldn't mind the idea of just doing an external parallelism wrapper, running multiple sessions of GHC rather than making GHC internally parallel. Hrrrrm.
Louis Wasserman
wasserman.louis@gmail.com
http://profiles.google.com/wasserman.louis
On Thu, Jun 3, 2010 at 11:57 PM, Evan Laforge
<qdunkan@gmail.com> wrote:
Something I wondered from watching that talk, rather than trying to
make ghc run concurrently internally, can we just have --make, when
faced with multiple possibilities, pick the first one without a
'ModuleName.working' file, create such a working file, and then go to?
Then you can run 'ghc --make X.hs &; ghc --make X.hs &; ...'.
In fact, isn't that what make -j already does? I could try it with
the old style 'ghc -M' and pure makefile, but it turns out to be a lot
of work to figure out what packages to include and tangle out the
right .o files and whatnot, work that --make does for me.