Continuations in netty

Matroska tobia.loschiavo at gmail.com
Wed Apr 28 03:19:19 EDT 2010


Hi Trustin, thanks for your answer.

My question was not directly about "scala continuations" but more like
"continuations" in general. I have seen many example of usage of
continuations in Grizzly. The point is that in java you cannot easily
provide continuations support (I have seen that jetty developers have used
exceptions to make continuations possible in java). To support in netty I
think it should be possible to access the java.nio.channels.Selector object
but I have not got in depth with the matter. By the way you can find a good
explaination fo scala continuations
http://dcsobral.blogspot.com/2009/07/delimited-continuations-explained-in.htmland
continuations in Grizzly here
http://weblogs.java.net/blog/jfarcand/archive/OnTheRoadToJavaPolis2007_Comet.pdf

Thanks
Tobia Loschiavo




On Wed, Apr 28, 2010 at 9:01 AM, Trustin Lee [via Netty Forums and Mailing
Lists] <ml-node+4973007-1494025083-520098 at n2.nabble.com<ml-node%2B4973007-1494025083-520098 at n2.nabble.com>
> wrote:

> Hi Tobia,
>
> I am not sure what Scala continuations look like.  I'm not a Scala
> expert unfortunately.  What should I do to support Scala continuations?
>  Is there any resource I can refer to?
>
> Thanks,
> Trustin
>
> Matroska wrote:
> > Hi,
> >
> > I would like to use scala continuations in netty to improve scalability
> and
> > I was wondering if there is support out of the box, or if not what class
> > should I look into.
> > Thanks in advance
> >
> > Tobia Loschiavo
>
> --
> what we call human nature in actuality is human habit
> http://gleamynode.net/
>
>
>
>
> _______________________________________________
> netty-users mailing list
> [hidden email] <http://user/SendEmail.jtp?type=node&node=4973007&i=0>
> https://lists.jboss.org/mailman/listinfo/netty-users
>
> *signature.asc* (268 bytes) Download Attachment<http://attachment/4973007/0/signature.asc>
> — Trustin Lee, http://gleamynode.net/
>
>
> ------------------------------
>  View message @
> http://netty-forums-and-mailing-lists.685743.n2.nabble.com/Continuations-in-netty-tp4956714p4973007.html
> To unsubscribe from Continuations in netty, click here<http://netty-forums-and-mailing-lists.685743.n2.nabble.com/subscriptions/Unsubscribe.jtp?code=dG9iaWEubG9zY2hpYXZvQGdtYWlsLmNvbXw0OTU2NzE0fC0yMTI3MjUyNTky>.
>
>
>

-- 
View this message in context: http://netty-forums-and-mailing-lists.685743.n2.nabble.com/Continuations-in-netty-tp4956714p4973062.html
Sent from the Netty User Group mailing list archive at Nabble.com.



More information about the netty-users mailing list