Is it? Almost all "async" systems use it to model cooperative task switching. I'm not aware of any runtimes that have the distinction of async vs. blocking work that don't do cooperative concurrency (which makes sense; cooperative concurrency is a good fit for code that is mostly IO completions hooked up to an efficient IO multiplexer).
On the other side, it's similar: blocking + preemptive multitasking (or no multitasking) are nearly always paired. Unless you wanna split hairs and say e.g. "because Golang and BEAM sometimes use singleton IO multiplexers under the hood, that makes them 'async'", which is not a useful or typically-understood description of the term. This is true in multi-process, multi-thread, and (I'd argue) many multi-actor systems as well.
I think the useful distinction around async-or-not is whether the language semantics distinguish yield/resume points or not. Like, I don't have to care if syscalls/time slices/whatever are the preemption points, but if I'm writing async code, the async boundaries are very important because they're potentially task switching boundaries.
Or are we using incompatible definitions of these terms?
Is it? Almost all "async" systems use it to model cooperative task switching. I'm not aware of any runtimes that have the distinction of async vs. blocking work that don't do cooperative concurrency (which makes sense; cooperative concurrency is a good fit for code that is mostly IO completions hooked up to an efficient IO multiplexer).
On the other side, it's similar: blocking + preemptive multitasking (or no multitasking) are nearly always paired. Unless you wanna split hairs and say e.g. "because Golang and BEAM sometimes use singleton IO multiplexers under the hood, that makes them 'async'", which is not a useful or typically-understood description of the term. This is true in multi-process, multi-thread, and (I'd argue) many multi-actor systems as well.
I think the useful distinction around async-or-not is whether the language semantics distinguish yield/resume points or not. Like, I don't have to care if syscalls/time slices/whatever are the preemption points, but if I'm writing async code, the async boundaries are very important because they're potentially task switching boundaries.
Or are we using incompatible definitions of these terms?