[Ironruby-core] IronRuby's Marshal.dump doesn't work with CLR types, or ruby types backed by a CLR type

James W. lists at ruby-forum.com
Fri Jul 6 18:46:49 UTC 2012

Orion et al.,

I am curious if there has been any forward momentum on addressing CLR
object serialization in IronRuby. I'm currently porting some JRuby test
framework code that utilizes DRb as an interface to serialize Java
objects for test automation. We'd like to be able to accomplish the same
in Ironruby with CLR objects. Unfortunately, I am running into the above
issue when DRb uses Marshal.load and Marshal.dump to serialize CLR  (and
CLR-backed) objects. Although there are many potential work-arounds, it
seems that the ideal scenario would be for Ironruby to competently
handle .NET family object serializations.

Although I will be implementing a work-around in the short-term, I'd be
interested in continuing this discussion. Any references you can provide
would be exceptionally useful.

Best regards,


Posted via http://www.ruby-forum.com/.

More information about the Ironruby-core mailing list