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

So Parsell saves state between received chunks.

Why can't it swap execution contexts, aka stacks? In other words, use coroutines and simply yield between chunks instead.

Wouldn't that be more efficient and simpler? Is there some aspect in Rust that makes coroutines less desirable than (manually) saving and restoring state?



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

Search: