Hacker News new | ask | show | jobs
by whitten 486 days ago
What is a Tokio function ?

What is CPS ?

2 comments

CPS style stands for continuation passing style. It is common for compiler to represent programs in a CPS style since it is a handy format for a compiler to reason about.
Tokio is a Rust library for async - https://tokio.rs/

CPS is Continuation Passing Style - https://www.youtube.com/watch?v=MbtkL5_f6-4

Is that the correct video for CPS?