Jump to page: 1 2
Thread overview
At the language-level support for Micro-thread?
Sep 23, 2014
Jet
Sep 23, 2014
Idan Arye
Sep 23, 2014
Daniel Kozak
Sep 23, 2014
Atila Neves
Sep 23, 2014
Daniel Kozak
Sep 23, 2014
Sean Kelly
Sep 23, 2014
Sean Kelly
Sep 23, 2014
David Nadlinger
Sep 23, 2014
Sean Kelly
Sep 23, 2014
David Nadlinger
Sep 23, 2014
Sean Kelly
Sep 24, 2014
Jet
Sep 24, 2014
Marc Schütz
September 23, 2014
I hope the Dlang can have the Micro-thread at the language-level. Like the Goroutine, maby.
September 23, 2014
On Tuesday, 23 September 2014 at 03:07:41 UTC, Jet wrote:
> I hope the Dlang can have the Micro-thread at the language-level. Like the Goroutine, maby.

Sure it can - it's called "Fibers":

http://dlang.org/phobos/core_thread.html#.Fiber
September 23, 2014
V Tue, 23 Sep 2014 08:06:35 +0000
Idan Arye via Digitalmars-d <digitalmars-d@puremagic.com> napsáno:

> On Tuesday, 23 September 2014 at 03:07:41 UTC, Jet wrote:
> > I hope the Dlang can have the Micro-thread at the language-level. Like the Goroutine, maby.
> 
> Sure it can - it's called "Fibers":
> 
> http://dlang.org/phobos/core_thread.html#.Fiber

Yep, AFAIK there is still no scheduler

September 23, 2014
On Tuesday, 23 September 2014 at 08:14:50 UTC, Daniel Kozak via Digitalmars-d wrote:
> V Tue, 23 Sep 2014 08:06:35 +0000
> Idan Arye via Digitalmars-d <digitalmars-d@puremagic.com> napsáno:
>
>> On Tuesday, 23 September 2014 at 03:07:41 UTC, Jet wrote:
>> > I hope the Dlang can have the Micro-thread at the language-level. Like the Goroutine, maby.
>> 
>> Sure it can - it's called "Fibers":
>> 
>> http://dlang.org/phobos/core_thread.html#.Fiber
>
> Yep, AFAIK there is still no scheduler

vibe.d.

Atila
September 23, 2014
V Tue, 23 Sep 2014 12:14:15 +0000
Atila Neves via Digitalmars-d <digitalmars-d@puremagic.com> napsáno:

> On Tuesday, 23 September 2014 at 08:14:50 UTC, Daniel Kozak via Digitalmars-d wrote:
> > V Tue, 23 Sep 2014 08:06:35 +0000
> > Idan Arye via Digitalmars-d <digitalmars-d@puremagic.com>
> > napsáno:
> >
> >> On Tuesday, 23 September 2014 at 03:07:41 UTC, Jet wrote:
> >> > I hope the Dlang can have the Micro-thread at the language-level. Like the Goroutine, maby.
> >> 
> >> Sure it can - it's called "Fibers":
> >> 
> >> http://dlang.org/phobos/core_thread.html#.Fiber
> >
> > Yep, AFAIK there is still no scheduler
> 
> vibe.d.
> 
> Atila

I know, but I mean there is no scheduler in standard library or at language-level

September 23, 2014
On Tuesday, 23 September 2014 at 12:19:52 UTC, Daniel Kozak via Digitalmars-d wrote:
>
> I know, but I mean there is no scheduler in standard library or at language-level

That code has been written for almost a year now.  Someone will pull it eventually :-/
September 23, 2014
On 9/23/14, 6:41 AM, Sean Kelly wrote:
> On Tuesday, 23 September 2014 at 12:19:52 UTC, Daniel Kozak via
> Digitalmars-d wrote:
>>
>> I know, but I mean there is no scheduler in standard library or at
>> language-level
>
> That code has been written for almost a year now.  Someone will pull it
> eventually :-/

In fairness, https://github.com/D-Programming-Language/phobos/pull/1910 needs your attention. It's failing unittests. -- Andrei
September 23, 2014
On Tuesday, 23 September 2014 at 15:44:19 UTC, Andrei Alexandrescu wrote:
> On 9/23/14, 6:41 AM, Sean Kelly wrote:
>> On Tuesday, 23 September 2014 at 12:19:52 UTC, Daniel Kozak via
>> Digitalmars-d wrote:
>>>
>>> I know, but I mean there is no scheduler in standard library or at
>>> language-level
>>
>> That code has been written for almost a year now.  Someone will pull it
>> eventually :-/
>
> In fairness, https://github.com/D-Programming-Language/phobos/pull/1910 needs your attention. It's failing unittests. -- Andrei

On Win64 only.  The problem isn't with the pull request but rather with fibers on Win64 or with something else entirely (unclear, given the stack traces I've seen so far).  ie. The problem was that I added unittests that didn't exist before which may have uncovered an existing issue.  I've considered simply disabling the tests on Win64 until whatever is going on there can be sorted out.  I don't have a Win64 test environment so I've been relying on others to provide info.
September 23, 2014
On 9/23/14, 9:11 AM, Sean Kelly wrote:
> On Tuesday, 23 September 2014 at 15:44:19 UTC, Andrei Alexandrescu wrote:
>> On 9/23/14, 6:41 AM, Sean Kelly wrote:
>>> On Tuesday, 23 September 2014 at 12:19:52 UTC, Daniel Kozak via
>>> Digitalmars-d wrote:
>>>>
>>>> I know, but I mean there is no scheduler in standard library or at
>>>> language-level
>>>
>>> That code has been written for almost a year now.  Someone will pull it
>>> eventually :-/
>>
>> In fairness,
>> https://github.com/D-Programming-Language/phobos/pull/1910 needs your
>> attention. It's failing unittests. -- Andrei
>
> On Win64 only.  The problem isn't with the pull request but rather with
> fibers on Win64 or with something else entirely (unclear, given the
> stack traces I've seen so far).  ie. The problem was that I added
> unittests that didn't exist before which may have uncovered an existing
> issue.  I've considered simply disabling the tests on Win64 until
> whatever is going on there can be sorted out.  I don't have a Win64 test
> environment so I've been relying on others to provide info.

I guess you can disable the whole feature on Win64 and leave it to someone else to introduce it. You can't work on this stuff without a box. -- Andrei
September 23, 2014
On Tuesday, 23 September 2014 at 16:20:25 UTC, Andrei Alexandrescu wrote:
> I guess you can disable the whole feature on Win64 and leave it to someone else to introduce it. You can't work on this stuff without a box. -- Andrei

Yes, but don't forget that there are still a few actual, unresolved issues with the PR (and I'm not talking about my documentation nit-picks here, they could also be done separately).

David

« First   ‹ Prev
1 2