Re: Actor model & D

2017-11-11 Thread Ola Fosheim Grostad via Digitalmars-d
On Saturday, 11 November 2017 at 21:47:53 UTC, Dmitry Olshansky wrote: On Saturday, 11 November 2017 at 20:37:59 UTC, Ola Fosheim That's a library So what? Should we say that c doesn’t support threads because they are implemented in the library. Regular C is not a concurrent language. D is

Re: Actor model & D

2017-11-11 Thread Dmitry Olshansky via Digitalmars-d
On Saturday, 11 November 2017 at 20:37:59 UTC, Ola Fosheim Grostad wrote: On Saturday, 11 November 2017 at 18:30:33 UTC, Dmitry Olshansky wrote: On Saturday, 11 November 2017 at 13:31:20 UTC, Ola Fosheim Grøstad wrote: On Monday, 19 August 2013 at 03:11:00 UTC, Luís Marques wrote: Can anyone pl

Re: Actor model & D

2017-11-11 Thread Ola Fosheim Grostad via Digitalmars-d
On Saturday, 11 November 2017 at 18:30:33 UTC, Dmitry Olshansky wrote: On Saturday, 11 November 2017 at 13:31:20 UTC, Ola Fosheim Grøstad wrote: On Monday, 19 August 2013 at 03:11:00 UTC, Luís Marques wrote: Can anyone please explain me what it means for the D language to follow the Actor model

Re: Actor model & D

2017-11-11 Thread Sönke Ludwig via Digitalmars-d
Am 11.11.2017 um 13:28 schrieb Nordlöw: On Friday, 8 November 2013 at 08:22:56 UTC, Bienlein wrote: It seems like a pretty simple change so far, though I guess we'll see today. As >a demo, I'm creating both a ThreadMultiplexer and a FiberMultiplexer. That would be awesome. Something similar t

Re: Actor model & D

2017-11-11 Thread Dmitry Olshansky via Digitalmars-d
On Saturday, 11 November 2017 at 13:31:20 UTC, Ola Fosheim Grøstad wrote: On Monday, 19 August 2013 at 03:11:00 UTC, Luís Marques wrote: Can anyone please explain me what it means for the D language to follow the Actor model, as the relevant Wikipedia page says it does? [1] [1] http://en.wik

Re: Actor model & D

2017-11-11 Thread Ola Fosheim Grøstad via Digitalmars-d
When I come to think of it, browser based Javascript might be considered to follow the Actor model at a high granularity using web-workers or even just http. But I think Hewitt's main idea was that it should be designed to be fault tolerant. The system of actors should continue to work well

Re: Actor model & D

2017-11-11 Thread Ola Fosheim Grøstad via Digitalmars-d
On Monday, 19 August 2013 at 03:11:00 UTC, Luís Marques wrote: Can anyone please explain me what it means for the D language to follow the Actor model, as the relevant Wikipedia page says it does? [1] [1] http://en.wikipedia.org/wiki/Actor_model#Later_Actor_programming_languages The page is

Re: Actor model & D

2017-11-11 Thread Nordlöw via Digitalmars-d
On Friday, 8 November 2013 at 08:22:56 UTC, Bienlein wrote: It seems like a pretty simple change so far, though I guess we'll see today. As >a demo, I'm creating both a ThreadMultiplexer and a FiberMultiplexer. That would be awesome. Something similar to lightweight threads as in Go or Rust an

Re: Actor model & D

2013-11-08 Thread Bienlein
It seems like a pretty simple change so far, though I guess we'll see today. As >a demo, I'm creating both a ThreadMultiplexer and a FiberMultiplexer. That would be awesome. Something similar to lightweight threads as in Go or Rust and I'm all happy with D ;-).

Re: Actor model & D

2013-11-05 Thread Sean Kelly
On Nov 5, 2013, at 4:28 AM, "Bienlein" wrote: > >> On Monday, 19 August 2013 at 03:11:00 UTC, Luís Marques wrote: >> Can anyone please explain me what it means for the D language to follow the >> Actor model, as the relevant Wikipedia page says it does? [1] >> >> [1] >> http://en.wikipedia.org

Re: Actor model & D

2013-11-05 Thread Ali Çehreli
On 11/05/2013 04:28 AM, Bienlein wrote: > Tid worker = spawn(&workerFunc, thisTid); Going totally off topic here, there is ownerTid in every worker's context. (I suspect it was a relatively recent addition.) So, there is no need to pass the owner's tid explicitly: Tid worker = spa

Re: Actor model & D

2013-11-05 Thread Bienlein
On Monday, 19 August 2013 at 03:11:00 UTC, Luís Marques wrote: Can anyone please explain me what it means for the D language to follow the Actor model, as the relevant Wikipedia page says it does? [1] [1] http://en.wikipedia.org/wiki/Actor_model#Later_Actor_programming_languages To my under

Re: Actor model & D

2013-08-19 Thread deadalnix
On Monday, 19 August 2013 at 16:20:37 UTC, Andrei Alexandrescu wrote: Go is CSP - isn't that different from Actor? Andrei I'd be interested to know the difference.

Re: Actor model & D

2013-08-19 Thread Russel Winder
On Mon, 2013-08-19 at 09:20 -0700, Andrei Alexandrescu wrote: […] > Go is CSP - isn't that different from Actor? CSP certainly is very different from actors, it's in the synchronization structure. Go's model isn't CSP per se, it is a more or less the same thing developed by Pike over the years. A

Re: Actor model & D

2013-08-19 Thread Andrei Alexandrescu
On 8/18/13 9:24 PM, Tyler Jameson Little wrote: On Monday, 19 August 2013 at 03:11:00 UTC, Luís Marques wrote: Can anyone please explain me what it means for the D language to follow the Actor model, as the relevant Wikipedia page says it does? [1] [1] http://en.wikipedia.org/wiki/Actor_model#L

Re: Actor model & D

2013-08-18 Thread Tyler Jameson Little
On Monday, 19 August 2013 at 03:11:00 UTC, Luís Marques wrote: Can anyone please explain me what it means for the D language to follow the Actor model, as the relevant Wikipedia page says it does? [1] [1] http://en.wikipedia.org/wiki/Actor_model#Later_Actor_programming_languages I assume th

Actor model & D

2013-08-18 Thread Luís.Marques
Can anyone please explain me what it means for the D language to follow the Actor model, as the relevant Wikipedia page says it does? [1] [1] http://en.wikipedia.org/wiki/Actor_model#Later_Actor_programming_languages