Fibers (OT: Name)

Sean Kelly sean at invisibleduck.org
Wed Oct 22 11:44:17 PDT 2008


Moritz Warning wrote:
> On Wed, 22 Oct 2008 11:47:14 +0200, Don wrote:
> 
>> Bill Baxter wrote:
> [..]
>> OT: When I first read about fibers (in Microsoft docs) I found the
>> terminology terribly confusing. Until I realized that "fiber" was the US
>> spelling of "fibre", at which point the connection with threads became
>> understandable. I still don't like the name, since OS threads aren't
>> really made of "fibers". You're just switching stacks. One aspect of
>> implementing threads is switching stacks. And that's the extent of the
>> relationship, as far as I can tell.
> 
> "Fiber" is also confusing to me (but I got used to it a bit).
> Why can't we call it StackThreads anyway?

"Fiber" was more meaningful to me.  After all, every thread has a stack.


Sean



More information about the Digitalmars-d mailing list