I updated to current again, and executable file size has nearly doubled 
again (120MB vs 70MB). I'd be curious to know if startup time wouldn't be 
affected by file IO at this point. I'm using 7.9 BC 32 bits in production 
atm, since it produces the smallest executables (12 MB!).

Dex

On Wednesday, March 3, 2021 at 8:07:00 PM UTC+1 Dexter Lagan wrote:

> Hello there,
>
>   Two things:
>
> - I noticed a doubling of executable file sizes (from 30MB to 70MB for 
> racket/gui with embedded libs, Windows) between Racket 7.9 (non-CS) and 
> Racket 8.0 (CS). Because of this, startup times from network drives also 
> doubled (from 5 to 10s for gui programs when using CS). I had to revert to 
> 7.9 non-CS for now;
>
> - Because of this, I have been trying to reduce file sizes to a minimum. I 
> tried replacing racket/gui by a minimal list of requires to no avail. I 
> tried using the raco demod function to demodularize, but it seems to be 
> broken on recent version of Racket (anything beyond hello world will quit 
> prematurely, racket/gui programs won't run at all). I tried GitHub - 
> bluerider/flattener: Source Code Level Flattener for PLT Racket 
> <https://github.com/bluerider/flattener> without success (seems broken as 
> well). I also tried compressing executables with UPX, but it also breaks 
> them.
>
>   Does anybody know of a way to reduce final Racket executable file sizes 
> / flatten / demodularize while keeping gui functionality ?
>
> Dex
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/a2a14107-01fb-4f36-b6e1-c02498f357adn%40googlegroups.com.

Reply via email to