Re: Serialized continuation size

"Scott G. Miller" <[email protected]>
Newsgroups gmane.comp.java.sisc.user
Message-ID <[email protected]>
On Mon, Apr 24, 2006 at 10:57:01AM -0700, Dan wrote:
> > continuations down to under a couple hundred bytes,
> > which would still be an awefully long URL. There are
> > security concerns also of course, since
> > the client could alter the continuation and do any
> > number of strange things.
> 
> Well, continuations will be compressed +
> cryptographically signed + base64-encoded.

Crypto signing itself would be 128-bits minimum, or about 16 base64 
chars, not counting your data.

> 
> > Except for the parts of active expressions on the
> > stack.
> 
> I'm not sure what that means practically. I'm talking
> about building a heap file for the entire application
> (including siscweb and the webapp code). In
> 
> (define (f x)
>   (display "Hi\n")
>   (+ 2 (g x)))
> 
> (define (g x)
>   (call/cc (lambda (cc)
>   ;; serialize cc ...
>             )
>   )
>   x)
> 
> would the serialized cc include bytecode for the
> expression (lambda (x) (+ 2 x))?
> 

Yeah, it would, minus the lambda perhaps.  


  Scott



-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.