4
According to the title of the question, I see these names being used to describe very similar things.
In the Python world we have Greenlets described as corroding and Green Threads. In the Java world we have the project Loom introducing fibers. In the world Kotlin we have corrotinas and libraries as Quasar (Ron Pressler’s current Loom Project leader project) which, among other things also implements fibers.
All these constructions seem to touch the same points and arrive at the same end result. Asynchronicity and multitasking cooperative that works in user mode.
Are we all talking about the same thing? Or are there conceptual differences between Corrotins, Fibers and Green Threads? If there are conceptual differences, can we implement one thing through the other? (e.g., we can implement Green Threads and Fibers using corrosive?).
PS: I’m creating some questions for the community. Initially I have no intention of answering my own questions (but I may do so if the questions do not attract good answers). Please do not be shy, the whole idea is to create good questions so that you can answer :).
– Anthony Accioly
Another gift for the community :) I know that Java has had Green Threads (I don’t know if it was the same concept and intention, it is often given the same name for different concepts) and in Ruby there is also some old construct in this line. Awaiting one of those well-informed answers :) P.S.: I know of a Turing who has a good one spoiler for the last question :)
– Piovezan