3 ms·
Cooperative multitasking is in fashion now, so we might get a whole new generation to take over. Or they’ll just cargo-cult everything and have no clue what’s
by Tabular-Iceberg 3y ago
Cooperative multitasking is in fashion now, so we might get a whole new generation to take over.
Or they’ll just cargo-cult everything and have no clue what’s happening under the hood.
- taeric 3y agoTo be fair, I doubt I fully understand what is going on fully under the hood. I usually bring this line up when folks lament that we don't have abstractions that fits the instruction set of the computer. Ignoring that many of the abstractions of the computer are orthogonal to isolated instructions, at this point. https://stackoverflow.com/questions/72423227/is-a-schedulable-unit-of-cpu-time-slice-process-or-thread https://stackoverflow.com/questions/72423227/is-a-schedulabl... was a fun read as I was looking for something that would explore some of that for me.
- Tabular-Iceberg 2y agoThere can be degrees of understanding. What I’ve been seeing is devs deciding that everything should be async to improve performance, but then running every single task in its own event loop, making it exactly as synchronous as before, but with more overhead.