[racket] Typed racket -> huge executable size

From: Asumu Takikawa (asumu at ccs.neu.edu)
Date: Wed Nov 5 16:23:37 EST 2014

On 2014-11-05 11:08:56 -0500, Vincent St-Amour wrote:
> Right, I was suggesting a possible change to `raco exe` that may solve
> the problem. I don't know whether it's possible / a good idea, though.

We discussed this a bit in the lab today. It sounds like `raco exe` is
conservative by default here and has to bring in all the compile-time
dependencies too.

The reason is that things like `eval` (or other reflection mechanisms)
may need the compile-time dependencies.

In practice though, it seems like these can be removed in many
situations without causing problems. Maybe we would benefit from a flag
that can enable a less conservative mode?

Cheers,
Asumu

Posted on the users mailing list.