4 ms·
> This site is implemented with continuations and it works pretty well. I believe it uses persistent closures, not persistent continuations. And anyway, it oft
by olavk 18y ago
> This site is implemented with continuations and it works pretty well.
I believe it uses persistent closures, not persistent continuations. And anyway, it often fails with the message "Unknown or expired link." (because you cant keep all the closures alive indefinitely - but you have to, otherwise you break the web!) This wouldn't be acceptable for most sites.
In any case, I don't think MS would add continuations to .net specifically to support continuation based web frameworks. The model with persistent continuations (or persistent closures for that matter) is at odds with the threading model in IIS, where the server is supposed to spawn multiple threads running the same application code. And IIS is strategic to MS.