[racket-dev] Caching rendered icons

From: Neil Toronto (neil.toronto at gmail.com)
Date: Thu Jan 12 15:15:03 EST 2012

On 01/12/2012 12:22 PM, Eli Barzilay wrote:
>> Is there a way to reliably get the "compiled" directory path during
>> expansion, and then load files from it at runtime? Can I ensure that
>> .PNG files are distributed automatically?
>
> Putting other stuff in compiled directories would probably complicate
> distributions (of both kinds), so the compile-to-bytestring is really
> better.  (One possible thing to keep in mind is to avoid compilation
> relying on having a display.)

Just to double-check: ever since the big GUI rewrite, I can use 
racket/draw without needing a display, right?

Neil T


Posted on the dev mailing list.