collects/drracket/drracket.rkt does something similar to set up compilation handlers and (optionally) a profiler that I use for performance debugging, and then it loads drracket/private/drracket-normal.rkt which does the splash screen bit.
Robby On Wed, Sep 1, 2010 at 7:11 AM, Laurent <laurent.ors...@gmail.com> wrote: > Excellent! Thanks a lot! > By any chance, do you remember the name of the file that does that? > (Don't take more than 10s for this question, it's not worth it.) > > On Wed, Sep 1, 2010 at 14:00, Robby Findler <ro...@eecs.northwestern.edu> > wrote: >> >> A minimal amount of stuff is loaded (roughly what is loaded when >> gracket itself starts up) and then the splash screen is opened and the >> rest of drracket is loaded via a dynamic-require. Also, progress on >> the splash screen's gauge% is made each time a file is loaded, which >> is monitored by the load-handler. >> >> Robby >> >> On Wed, Sep 1, 2010 at 1:56 AM, Laurent <laurent.ors...@gmail.com> wrote: >> > Hi, >> > >> > Is it possible to have a splash screen displayed while loading a GRacket >> > program? >> > Much like DrRacket's in fact. >> > Because for some projects, it can take several seconds to initialize >> > everything. >> > I tried to open up a frame at the very beginning of the code, but it >> > only >> > shows up >> > after everything is loaded too. >> > >> > How is DrRacket splash screen shown up so early, while DrRacket is >> > loading? >> > >> > Thanks, >> > Laurent >> > >> > _________________________________________________ >> > For list-related administrative tasks: >> > http://lists.racket-lang.org/listinfo/users >> > > > _________________________________________________ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users