Cross-dialect binary serialization
Robert Withers
withers at vnet.net
Tue Apr 11 21:18:47 UTC 2000
Conrad Taylor wrote:
>
> How are you doing? I would like to receive the
> latest code.
Good, thanks. I don't know why I didn't think of this earlier, but
here is the site. There is a download link toward the bottom...
I do know why I didn't think of this. There are a couple of missing
things that Squeak needs but this shouldn't be a part of the SRP (State
Replication Protocol) framework. One of these is #isMetaclass protocol
in ProtoObject and MetaClass. The other is an ANSI DateAndTime class.
Oh yes, and I need to implement the #directedMessageClass in the
SrpPortableBehaviorSqueak class.
http://wiki.cs.uiuc.edu/CampSmalltalk/Binary+standard+for+object+interchange
Gemstone is considering putting this in their product, and the other
vendors were represented so they probably will too.
Cheers,
Robert
> Thanks in advance,
>
> -Conrad
>
> --- Robert Withers <withers at vnet.net> wrote:
> > When I was testing the encoding/deconding of
> > objects, I ran into an
> > issue in SmartRefStream where I could only decode
> > one object, then I
> > would have create a new stream. I switched to using
> > the ReferenceStream
> > which did not have this problem. I believe this
> > comes from the fact
> > that the SmartRefStream is only used in one or two
> > scenarios so this
> > issue wasn't exposed.
> >
> > During CampSmalltalk, there was a team which working
> > on a Binary Object
> > Interchange framework. We got this ported to Squeak
> > 2.7 with just a few
> > changes. It includes Load and Save Rules, both
> > instance and class
> > based. It is a bit large (250kb) but it is
> > evidently very fast. There
> > is an unfinished piece which is a RunTimeCompiler
> > which is supposed to
> > allow binary interchange of parse trees between
> > dialects.
> >
> > I cannot make any statements about the correctness
> > of this solution, or
> > the impact to the size of the image. However, I
> > wanted to bring this up
> > for discussion and see if the Squeak community would
> > be interested in
> > adopting this into the main code stream, so that we
> > can start doing some
> > x-dialect work.
> >
> > Robert
> >
> > PS. email me if you want the latest and greatest
> > code...
> > --
> > --------------------------------------------------
> > Smalltalking by choice. Isn't it nice to have one!
> >
> >
>
> __________________________________________________
> Do You Yahoo!?
> Talk to your friends online with Yahoo! Messenger.
> http://im.yahoo.com
--
--------------------------------------------------
Smalltalking by choice. Isn't it nice to have one!
More information about the Squeak-dev
mailing list
|