Green threads were introduced in Erlang and probably all languages based on it know them, also in go (gorutines). Then afaik they were removed from rust.
My questions:
- How would one implement green threads in .NET? Are there some caveats that prevent current .NET runtime from implementing them?
- Does it even makes sense in terms of performance? We have a quite lightweight Task and in (near) future we will have even ValueType Task (more suitable for some scenarios)...