Re: CPU cores threads fibers

2015-06-18 Thread Robert M. Münch via Digitalmars-d-learn
On 2015-06-16 18:36:09 +, Rob T said: FYI: https://issues.dlang.org/show_bug.cgi?id=11686 https://issues.dlang.org/show_bug.cgi?id=11687 Thanks. We are currently experimenting to see how want to use the threads and what code to refactor. If we are going to bite the bullet I keep this

Re: CPU cores threads fibers

2015-06-16 Thread Rob T via Digitalmars-d-learn
On Sunday, 14 June 2015 at 15:54:30 UTC, Etienne Cimon wrote: On 2015-06-14 08:35, Robert M. Münch wrote: Hi, just to x-check if I have the correct understanding: fibers = look parallel, are sequential = use 1 CPU core threads = look parallel, are parallel = use several CPU

Re: CPU cores threads fibers

2015-06-15 Thread Robert M. Münch via Digitalmars-d-learn
On 2015-06-14 15:54:30 +, Etienne Cimon said: Yes, however nothing really guarantees multi-threading = multi-core. The kernel reserves the right and will most likely do everything possible to keep your process core-local to use caching efficiently. Hi, sure. It's more about raising the

Re: CPU cores threads fibers

2015-06-14 Thread John Colvin via Digitalmars-d-learn
On Sunday, 14 June 2015 at 12:35:44 UTC, Robert M. Münch wrote: Hi, just to x-check if I have the correct understanding: fibers = look parallel, are sequential = use 1 CPU core threads = look parallel, are parallel = use several CPU cores Is that right? Pretty much.

Re: CPU cores threads fibers

2015-06-14 Thread Etienne Cimon via Digitalmars-d-learn
On 2015-06-14 08:35, Robert M. Münch wrote: Hi, just to x-check if I have the correct understanding: fibers = look parallel, are sequential = use 1 CPU core threads = look parallel, are parallel = use several CPU cores Is that right? Yes, however nothing really guarantees

Re: CPU cores threads fibers

2015-06-14 Thread via Digitalmars-d-learn
On Sunday, 14 June 2015 at 12:35:44 UTC, Robert M. Münch wrote: Hi, just to x-check if I have the correct understanding: fibers = look parallel, are sequential = use 1 CPU core threads = look parallel, are parallel = use several CPU cores Is that right? Fibers/co-routines