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

From: Roman Klochkov (kalimehtar at mail.ru)
Date: Sat Mar 29 07:17:45 EDT 2014

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

Fri, 28 Mar 2014 19:12:03 -0400 от Yuhao Dong <yd2dong at uwaterloo.ca>:
>So, I have a really, really cheap VPS. I need to run several racket
>programs on it; however, just the memory usage of the standard library,
>jit, etc of each racket instance means that I can't concurrently run
>more than one racket process without running out of memory.
>Is there any way I could program some sort of daemon that listens on a
>TCP port for racket filenames, loads them, and runs them in a new
>sandboxed green thread? How does DrRacket concurrently run .rkt files
>within one Racket instance? Is there a simple function like (eval-file
>  Racket Users list:
>   http://lists.racket-lang.org/users

Roman Klochkov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20140329/b125e488/attachment.html>

Posted on the users mailing list.