7 ms·
async/await was syntactic sugar in C# as well. Callbacks are a natural way to do async so it's no surprise. And while Python implements async directly in the V
by int_19h 1y ago
async/await was syntactic sugar in C# as well. Callbacks are a natural way to do async so it's no surprise.
And while Python implements async directly in the VM, its semantics is such that it can be treated as syntactic sugar for callbacks there also.