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

Is stackfulness required for what the grandparent describes? It seems possible to do this stacklessly: all functions implicitly compile down to a state machine, but futures are never visible.


You need stackful coroutines or continuations (which become really just a kind of growable stack) if you want recursive functions. This is a limitation of Rust’s design.




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

Search: