News for hackers. Stuff that matters.
Re:Writing an OS in Rust: Async/Await by Matthias247 on Monday March 30, 2020 @02:13PM (#22730575)
> Embedding islands of cooperative multitasking in a sea of pre-emptive multitasking seems to make a lot more sense than the other way around.

Pretty much my opinion. I think a preemptive threaded environment where some threads might run multiple async tasks (in order to boost efficiency) can make a lot of sense.

Pure cooperative environments seem too error-prone for bigger systems, because they lack the necessary isolation between tasks. Any bad task can degenerate the performance of all others tasks by blocking the execution thread.

There are no comments on this comment yet.