[plt-scheme] Re: How difficult would creating a collaborative multi-user online virtual world application be in PLT Scheme?

From: Noel Welsh (noelwelsh at gmail.com)
Date: Fri Jun 12 09:28:57 EDT 2009

On Thu, Jun 11, 2009 at 12:12 PM, Benjamin
L.Russell<DekuDekuplex at yahoo.com> wrote:
> Well, I'm basically looking for that kind of collaboration.
>
> Distributed collaborative editing might be useful, but it isn't nearly
> so fun.

OK, here's how I'd do it:

 - Define a virtual machine with a bunch of instructions specific to
what you want to do (e.g. 3D modelling primitives, gestures, or
whatever)
 - Make the instructions serialisable
 - Squirt instructions across the network to communicate between machines

This is kinda special case of serialising continuations, so you might
be able to leverage the web server's support for this to get this
project going in a hurry.

All up it would be relatively simple to get a prototype of this going.
Perhaps a day's work? There is good support in PLT for restricting
evaluation (e.g. the sandbox) so you would be able to reuse large
parts of the PLT runtime and not worry about security etc.

N.


Posted on the users mailing list.