3 ms·
The problem with function coloring is that it tends to proliferate throughout APIs (since you need to be async to call async), so as things evolve you find your
by ninkendo 5y ago
The problem with function coloring is that it tends to proliferate throughout APIs (since you need to be async to call async), so as things evolve you find yourself needing to await the majority of function calls… this makes it kind of tough to avoid awaiting during critical paths.
That said I still agree that it’s easier to manage than Threads, but something tells me we’re still going to want structured-concurrency versions of the common primitives like rw locks and mutexes, even in async environments.