rhombus-prototype icon indicating copy to clipboard operation
rhombus-prototype copied to clipboard

The .zo and .dep files should be invisible to the user

Open spdegabrielle opened this issue 6 years ago • 3 comments

The .zo and .dep files should be invisible to the user They should be created, deleted, invalidated, and processed generally without needing to form part of the user's mental model or workflow. Look at how python does this. It'd be lovely to make explicit calls to raco make (or even raco setup??) unnecessary. @tonyg

spdegabrielle avatar Jul 18 '19 12:07 spdegabrielle

The rhombus executable automatically caches compilation by default, like using -y with racket. There's one significant drawback, which is that startup time can be significantly slower, so -u is available to turn that off. (Or use racket as a lower-level mechanism to start a program.)

mflatt avatar Mar 14 '25 19:03 mflatt

Does it also ignore cached artifacts that are incompatible with the current needs of the system? That's, I think, my main point of discomfort with the Racket .zo/.dep system these days: sometimes it gets confused by compiler outputs from a previous iteration of the system and stops rather than blowing them away or ignoring them.

tonyg avatar Mar 28 '25 14:03 tonyg

@tonyg I'm not sure what you have in mind. What would be an example of that happening?

mflatt avatar Mar 28 '25 14:03 mflatt