Communicating with Smalltalk

I'm using the Mechanize library from Squeak Smalltalk. Right now, I'm
sending hard-coded text commands back and forth via TCPServer, but
someone suggested that, if I wrote DRb for Smalltalk, any ruby object
would be sharable with Smalltalk processes.

How should I attack this? Has it been done for any other language?
Is it a huge undertaking?

Thanks.
Sean

p.s. googling "ruby drb other languages" found nothing interesting

I had a dream to start my business, but I didn't have got enough of money to do this. Thank heaven my dude said to take the <a href="http://bestfinance-blog.com/topics/mortgage-loans">mortgage loans</a>. Thence I took the consolidation loans and realized my desire.

I'd say it is. You'd have to emulate Marshal (de)serialization and a
mapping between the Smalltalk and Ruby object models and message
sends.
Being optimistic, you might get something of hello-world dimensions
working in a few days. Full compatibility might never be possible, and
Marshal format changes with Ruby versions, so this is some major
effort.
It might be easier doing serialization with YAML, as there are
libraries for most Smalltalk implementations available.
I think Eric Hodel did some work in that direction.

Another project to look at is Maglev, I have little experience with
it, but worth mentioning anyway.

···

On Sat, Oct 30, 2010 at 6:03 AM, Sean DeNigris <sean@clipperadams.com> wrote:

I'm using the Mechanize library from Squeak Smalltalk. Right now, I'm
sending hard-coded text commands back and forth via TCPServer, but
someone suggested that, if I wrote DRb for Smalltalk, any ruby object
would be sharable with Smalltalk processes.

How should I attack this? Has it been done for any other language?
Is it a huge undertaking?

--
Michael Fellinger
CTO, The Rubyists, LLC

Iirc you can set drb's serializer to yaml. I think I remember Eric showing me such a thing at one point.

···

On Dec 16, 2010, at 20:43, Michael Fellinger <m.fellinger@gmail.com> wrote:

I'd say it is. You'd have to emulate Marshal (de)serialization and a
mapping between the Smalltalk and Ruby object models and message
sends.