Re:Zero-cost futures in Rust
by pcwalton on Thursday August 11, 2016 @06:01PM
(#12271918)
You don't have to destroy the "stack frame" (by which I assume you mean the state retained between blocking operations) every time you enter and leave. Why do you think you need to?
[ Parent
| on HN ]
He's talking about the difference between swapping the stack pointer and executing a single "jump" instruction vs initiating a full function call (pushing argument(s), function prologue/epilogue)