> Do you mean the case where you update your .rkt but don't re-make, so
> that the .zo is older? Racket will ignore the zo. As a result,
> although you lose the startup speed-up, you don't get any confusion
> from it running outdated code.

I thought that the compilded code would have fewer debugging information
(source code location etc) or not able to use the stepper. I have not
used the stepper in racket yet (but the stepper in gambit scheme which
is really useful at least for a beginner like me).

> By the way, I mentioned `raco make` because it sounded like you were
> working on individual script files.  People often run `raco make`
> indirectly -- if you make your project a collection with `raco link`,
> or make it a package, then `raco setup` will run `raco make` (among
> other things).

Yes that's right, I'm working on a simple executable unix script. My
strategy to learn racket is to start as simple as possible and then
extend the simple programms and learn more racket features by the way,
for example packaging, using macros, contracts etc.. 

Greg Hendershott <greghendersh...@gmail.com> writes:

>>> (Otherwise the .rkt file must be parsed and expanded each/every time
>>> you run. This includes test submodules, even though they won't be run.
>>> In addition, expansion time can be significant with non-trivial
>>> macros, including but not limited to Typed Racket.)
>>
>> Very interesting, this reduced the start up time significantly and my
>> small script starts nearly instantly now. So for macro heavy code 'raco
>> make' is the way to go. Can I use 'raco make' for everything or does it
>> make debugging more difficult?
>
> I haven't experienced it making debugging more difficult.
>
> Do you mean the case where you update your .rkt but don't re-make, so
> that the .zo is older? Racket will ignore the zo. As a result,
> although you lose the startup speed-up, you don't get any confusion
> from it running outdated code.
>
> Also, Dr Racket has an option to make compiled zos for you
> automatically (but racket-mode doesn't).
>
>
> By the way, I mentioned `raco make` because it sounded like you were
> working on individual script files.  People often run `raco make`
> indirectly -- if you make your project a collection with `raco link`,
> or make it a package, then `raco setup` will run `raco make` (among
> other things).

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to