Thanks! I did a quick post on Wren but didn't quite get into fibers. So what makes a fiber different than an instance? Is it more like an execution of the ask
method on it until a terminating condition in this case? (Not sure I asked that very well...)
You are viewing a single comment's thread from:
Fibers resemble threads in Java, with one important exception: they do not race against each other so their behavior is deterministic.
This is how Wren's creator explains it:
More details can be found here.
My understanding is that at a given time only one fiber is active and all other fibers are waiting until the current one yields control. But I might be wrong about it, as the chapter describing fibers is titled Concurrency, which actually means the opposite: