6 ms·
> If you are developing in Python or C# you may already know the big cost of async/await: function coloring where sync function can't call async function and vi
by oconnor663 2y ago
> If you are developing in Python or C# you may already know the big cost of async/await: function coloring where sync function can't call async function and vice versa.
The "blue can't call red" property -- the plot climax of the original function coloring article -- only applies to JS. Other languages can call async functions from sync functions using some sort of "block on" or "wait for" API. The function coloring problem is still annoying, but it's not a fundamental limitation like it is in JS.