Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Educate the CPS newbie, here: why do continuations make this difficult?


Because multiply invokable continuations have a memory cost associated with them. You need to know when to expire them so that you can reclaim memory.

If you didn't do this, every session would take up memory on the system that was never released.

That said, the situation could be handled more gracefully by keeping fallback information squirreled away somewhere.


Because it's a powerful paradigm used in the wrong place.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: