Re: [racket-users] Re: minimal vs full racket performance issues

2017-03-17 Thread Matthew Flatt
At Thu, 16 Mar 2017 16:10:04 -0700 (PDT), Jack Firth wrote:
> Side question for Racket package system folks: will the migration to Chez 
> scheme affect binary installs of packages? I seem to recall discussion that 
> bytecode might be going away as part of the Chez transition.

I don't yet know how it will work, since compiled output from Chez is
platform-specific. Maybe "binary" will just mean "fully expanded and
translated to linklets", so that the package still has to compiled on
the target platform, but the compilation of each file won't require
expansion or depend on any other file.

-- 
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.


[racket-users] Re: minimal vs full racket performance issues

2017-03-16 Thread Jack Firth
On Thursday, March 16, 2017 at 3:25:34 PM UTC-7, Dan Liebgold wrote:
> Is there a way to do minimal installs of packages?  I imagine skipping any 
> gui elements would cut down the dependencies quite a bit.

You can install a package in binary form with `raco pkg install --binary foo`, 
which fetches pre-built bytecode and pre-rendered documentation from the 
package catalog build server. This requires you use the same Racket version the 
build server uses, which is usually the latest released version. This also 
completely skips installing dependencies only needed for build time (build-deps 
in a package's info.rkt). You can further omit installing pre-rendered 
documentation by using --binary-lib instead of --binary.

Side question for Racket package system folks: will the migration to Chez 
scheme affect binary installs of packages? I seem to recall discussion that 
bytecode might be going away as part of the Chez transition.

-- 
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.