This is fantastic, Thomas! Thank you *so* much!

Best wishes,
Arthur

---------- Mensagem encaminhada ----------
> From: Thomas Chust <[email protected]>
> To: Felix <[email protected]>
> Cc: [email protected]
> Date: Wed, 29 May 2013 16:10:43 +0200
> Subject: Re: [Chicken-users] Protocol Buffers for CHICKEN
> On 2013-05-29 14:36, Felix wrote:
> >> [...]
> >> Continuations should work, too, but it is non-trivial to construct a
> >> continuation that doesn't close over all sorts of crazy stuff like the
> >> input ports from which the interpreter reads library files etc. Fiddling
> >> around with green threads to delimit the continuations and using the
> >> facilities to inject "external dependencies" into the serialization
> >> context of protobuf should do the job, though.
> >
> > Well, ports for example will never be fully serializable (with the
> > exception of "standard" ports). Have you seen "suspensions"?
> >
> >   https://wiki.call-cc.org/eggref/4/suspension
> >
> > They currently use "s11n" but "protobuf" would be the better
> > mechanism.
> > [...]
>
> Hello Felix,
>
> yes, I'm aware of suspension and the magic going on inside that egg is
> precisely what I referred to by "fiddling around with green threads".
>
> In fact, protobuf can easily act as a drop-in replacement for s11n and I
> just verified that it does work just fine with suspensions! So I can say
> with more confidence now that continuation serialization through
> protobuf is functional.
>
> Apply the attached patch to the the suspension egg, install it and see
> for yourself :-)
>
> Ciao,
> Thomas
>
_______________________________________________
Chicken-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to