[plt-dev] Re: problem with optimistic compilation

From: Eli Barzilay (eli at barzilay.org)
Date: Wed Aug 12 21:33:15 EDT 2009

On Aug 12, Robby Findler wrote:
> On Wed, Aug 12, 2009 at 4:45 PM, Eli Barzilay<eli at barzilay.org> wrote:
> > On Aug 12, Robby Findler wrote:
> >> Okay, after some more thought and offline consultation, I've
> >> changed the way DrScheme works wrt to saving compiled .zo
> >> files. It now saves its compiled files in compiled/drscheme/ (and
> >> compiled/drscheme/errortrace), meaning that the files will be
> >> ignored when mzscheme runs. It also only looks in those
> >> directories when it is in compiled-file-generation mode.
> >
> > Won't this have the same problem with multiple versions of
> > drscheme using the same file?
> 
> Not unless there is a bug in CM; it should just recompile files when
> they are out of date.

I'm talking about:

  * Create a file
  * Run in drscheme, creating a compiled version
  * Update PLT to a newer version
  * Run the file again -- so the compiled file is still newer, but has
    the wrong version.

BTW, I tried to check it, but for some reason I don't get any
compilation to happen -- is there some option I'm forgetting?

-- 
          ((lambda (x) (x x)) (lambda (x) (x x)))          Eli Barzilay:
                    http://barzilay.org/                   Maze is Life!


Posted on the dev mailing list.