From: Mathieu Bouchard Date: 2001-05-08T15:31:00+09:00 Subject: [ruby-talk:14846] Re: Distributed Ruby and heterogeneous networks On Tue, 24 Apr 2001, rise wrote: > On Tue, 24 Apr 2001, Mathieu Bouchard wrote: > > I'm talking about the transmission format, and about changing it for > > something similar to Data::Dumper (of Perl fame). One side would generate > > ruby code from the datastructures and the other side would call eval() on > > what it gets. > This would be of great interest to me. I've been toying with a project > using DRB that would allow you to create a new thread that would serialize > itself, launch the thread on a remote DRB server, and then replace the > created thread with a stub using the DRB connection to control the remote > thread. The basic idea is to allow something like I wasn't talking about sending arbitrary ruby code. The serializer I have written only generates literals and constructors; that is easier to check for safety, and anyway you can't peek at Proc's syntax tree, except if you use extensions like mentioned in [ruby-talk:6190]. Now if someone can write a Ruby code serializer using either of those extensions... matju