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!

  • netwren@lemmy.world
    link
    fedilink
    English
    arrow-up
    3
    ·
    1 year ago

    Super interested to see if this is true as well. AFAIK Rust focuses on threading and async/await with Tokio being the main focus.

    I believe there is some support of green threads with Tokio configuration but I’m not 100% sure and am just writing off the top of my head because nobody has responded yet.