[racket] Saving memory by sharing a racket VM instance?

From: Greg Hendershott (greghendershott at gmail.com)
Date: Sat Mar 29 22:01:20 EDT 2014

>> I think, something like (thread (load "path/to/program.rkt"))

> This doesn't work unless program.rkt is written in #lang racket/load
> which is unsuitable for large applications.

Perhaps use racket/sandbox?

http://docs.racket-lang.org/reference/Sandboxed_Evaluation.html

`make-module-evalutor` can take a `path?` to the .rkt file.

If you want a more permissive sandbox, you can set many of the
parameters individually to be permissive, or you can use
`call-with-trusted-sandbox-configuration` for convenience.

Posted on the users mailing list.