• dvlsg@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    10 months ago

    Nah, they’re very similar, really. You generally kick IO heavy stuff you don’t need immediately off to async await.

    There are a few more applications of it in C# since you don’t have the “single thread” to work with like in JS. And the actual implementation under the hood is different, sure. But conceptually they’re similar. Pretty sure JS was heavily influenced by C#'s implementation and syntax.