This is a new concept in programming, I'm still trying to comprehend the use of it. One good reference is Sam Ruby's Continuations for Curmudgeons. One obvious use of it is in iterators. C# 2.0 offers to 'yield' a result and maintain the state of an iterator.
My doubts on this are-
What is the scope of the continuation? Does a function that offers continuation keep track of caller's context like thread from which it is called or the object context of the caller?
An obvious use of continuations is in paging of database query results. This is kind of like an iterator, and can be a lot more useful. Again, the question is - if databases can support a continuation like this, don't they need to keep track of the caller application and other context information?
I will post more when I understand more.
On society, politics, religion, economics and many other topics that just do not matter.
Tuesday, May 03, 2005
Subscribe to:
Post Comments (Atom)
Guilt, Fear and their effects
A senior gentleman passed away early this morning near my place. Nothing unusual about elderly people passing away. His son was away in fo...
-
Tired of being called to interview fresh graduates who can't think, I gave our HR person three sets of questions as follows. I didn...
-
"Is there a thing that doesn't exist?" was the question my son Krishna asked me last night. It has been his habit to listen t...
-
Anti-fragile எனும் ஆயிரங்காலத்துப் பயிர் தமிழ் மொழிபெயர்ப்பில் உள்ள சிரமங்களையும் சிக்கலான சிந்தனைகளை எப்படி தமிழில் விளக்குவது என்ற ஆலோசனை...
No comments:
Post a Comment