[racket] Web server

From: Brian Adkins (racketusers at lojic.com)
Date: Thu Jul 17 14:28:29 EDT 2014

On Jul 17, 2014, at 2:05 PM, Brian Adkins wrote:
> On Jul 17, 2014, at 1:26 PM, Matthew Flatt wrote:
>> We wanted to avoid multiple processes because OSes don't provide great
>> facilities for managing them and communicating between them.
> 
> Maybe I'm confused. I thought creating a new Place involved creating a new process with the Racket VM, to run in parallel (potentially on a different core) with the original process. Is the "new Racket instance" running in the same process as the original? That's how I read the following:
> 
> "The place form creates a place, which is effectively a new Racket instance that can run in parallel to other places, including the initial place. "
> 
> Maybe wording like "which is effectively" leaves too much to the imagination. Do Places run in OS scheduled threads?

Ha. I'm watching the video Asumu posted, and right after posting the above to the list, within a couple seconds, you explain in the video that Places are in the same OS process :)

It might be worth making that clear in the documentation. I expect many people who are interested to read about parallelism in Racket may also be interested in some of the implementation details as they pertain to efficiency.



Posted on the users mailing list.