• @sugar_in_your_tea
    link
    6
    edit-2
    4 months ago

    Here’s my main takeaway with simpler language:

    Rust doesn’t provide a way to abstract over async runtimes, so futures need to embed that somehow if they need access to it. So if you try to use functions intended for another runtime, you can get crashes.

    This seems like it could be solved by providing an async runtime implementation in std that could be swapped out if desired (like the memory allocator).