4 ms·
> Coroutines are a hack that is inferior to [...] real threads I don't agree. Sometimes you don't want to pay the price of the OS context switch. Anyway, in
by ScottBurson 10y ago
> Coroutines are a hack that is inferior to [...] real threads
I don't agree. Sometimes you don't want to pay the price of the OS context switch.
Anyway, in the context of the ANSI spec, threads were out of scope, but they could have done coroutines anyway.
> ... and delimited continuations
But CL doesn't have these, even de facto. Yes, there's CL-Cont, but it's pretty slow.