Remix.run Logo
▲ osigurdson 2 hours ago

>> in terms of how things can end up happening in any thread

Doesn't that describe pretty much any green thread style concurrency implementation.

▲dlisboa 22 minutes ago | parent [-]

No. Preemptive scheduling plus M:N mapping combination that Go has is not common in other major implementations.

Other languages and their implementations of green threads usually have cooperative scheduling or M:1 mapping

▲dwattttt 8 minutes ago | parent [-]

I'm curious; using hardware threads is M logical threads preemptively scheduled on N physical cores. In what way does this not satisfy the original criteria?

▲dlisboa 2 minutes ago | parent [-]

That's just not what is referred to as green threads.