I’m just starting to learn Rust, and was wondering if there is a good way to do coroutines/channels. I’ve grown fond of languages based around CSP, but am not sure that maps well to idiomatic Rust.

Thanks in advance!

  • dillekant@slrpnk.net
    link
    fedilink
    English
    arrow-up
    4
    ·
    1 year ago

    Wait is there a difference between coroutines and async/await? I thought they were practically the same model.