|
|
|
|
|
by munificent
4444 days ago
|
|
> C exported pretty much every abstraction of the underlying instruction set, but not coroutines. My hunch is that the designers of C would have said "goto" and "switch" cover the use case where you have a bunch of peer chunks of code that you want to freely bounce between. Remember, at the time function calls were considered expensive, so not support full coroutines across function call boundaries may not have been on their minds as much. |
|