logoalt Hacker News

ameliusyesterday at 1:01 PM3 repliesview on HN

Since at least Windows 3.1 we all know that cooperative multitasking is a bad idea. But we see a lot of developers use it, even Rust developers who should know better.


Replies

afioriyesterday at 6:57 PM

JavaScript's execution model uses cooperative concurrency to avoid a tons of data races, preemptive non-parallel concurrency would make all web development incredibly harder

show 1 reply
odo1242yesterday at 3:31 PM

Cooperative multitasking isn’t universally a bad idea (in fact, Rust supports it)

show 3 replies
pjmlpyesterday at 1:11 PM

It predates Windows 3.1.

show 1 reply