[plt-scheme] continuation barrier

From: Jay McCarthy (jay.mccarthy at gmail.com)
Date: Sat Apr 18 10:29:48 EDT 2009

I don't think that's the right way to go. I think what Eli is
suggesting is to run your entire servlet inside of the sandbox, so
that there is no need to jump across the sandbox's barrier.

Jay

2009/4/18 DTNOIZR <dtnoizerz58 at yandex.ru>:
>
>
> -------- Пересылаемое сообщение --------
> 18.04.09, 18:25, "DTNOIZR" <dtnoizerz58 at yandex.ru>:
>
> Do you mean I have to create my own version of send/suspend?
> can you advice me some short way to do it?
>
>
> 18.04.09, 18:01, "Eli Barzilay" <eli at barzilay.org>:
>
>> On Apr 18, DTNOIZR wrote:
>> >
>> > > If you want sandboxed code to be part of the web server, then you
>> > > should probably write some wrapper that will call a function
>> > > inside the sandbox with the query, and display the result it
>> > > returned.
>> >
>> > your code do not use "send/suspend"
>> > my code is like your, but "send/suspend" don't work
>> Right -- this is why I wrote the above: the sandbox is working in its
>> own world, so you will need to wrap around it some code that will
>> translate your own query to a call inside the sandbox, then show the
>> results that the sandbox returns.
>> --
>>           ((lambda (x) (x x)) (lambda (x) (x x)))          Eli Barzilay:
>>                   http://www.barzilay.org/                 Maze is Life!
> -------- Завершение пересылаемого сообщения --------
> _________________________________________________
>  For list-related administrative tasks:
>  http://list.cs.brown.edu/mailman/listinfo/plt-scheme
>



-- 
Jay McCarthy <jay at cs.byu.edu>
Assistant Professor / Brigham Young University
http://teammccarthy.org/jay

"The glory of God is Intelligence" - D&C 93


Posted on the users mailing list.