Re: Asynchronous Programming and Eventhandling in D

2016-07-07 Thread O/N/S via Digitalmars-d-learn
On Tuesday, 5 July 2016 at 20:38:53 UTC, Eugene Wissner wrote: On Tuesday, 5 July 2016 at 08:24:43 UTC, O/N/S wrote: Hi ("Grüss Gott") I like the asynchronous events in Javascript. Is something similar possible in D? Found Dragos Carp's asynchronous library (https://github.com/dcarp/asynchron

Re: Asynchronous Programming and Eventhandling in D

2016-07-06 Thread Eugene Wissner via Digitalmars-d-learn
On Wednesday, 6 July 2016 at 14:57:08 UTC, chmike wrote: On Wednesday, 6 July 2016 at 11:33:53 UTC, Eugene Wissner wrote: The only reason libev was choosen is that it is the simplest implementation I know about. A few C files. I had an educational purpose: I wanted to see how an event loop wo

Re: Asynchronous Programming and Eventhandling in D

2016-07-06 Thread chmike via Digitalmars-d-learn
On Wednesday, 6 July 2016 at 11:33:53 UTC, Eugene Wissner wrote: The only reason libev was choosen is that it is the simplest implementation I know about. A few C files. I had an educational purpose: I wanted to see how an event loop works on low level. Asyncio was for me no-go, since I've no

Re: Asynchronous Programming and Eventhandling in D

2016-07-06 Thread Eugene Wissner via Digitalmars-d-learn
On Wednesday, 6 July 2016 at 08:39:03 UTC, chmike wrote: On Tuesday, 5 July 2016 at 20:38:53 UTC, Eugene Wissner wrote: On Tuesday, 5 July 2016 at 08:24:43 UTC, O/N/S wrote: Hi ("Grüss Gott") I like the asynchronous events in Javascript. Is something similar possible in D? Found Dragos Carp's

Re: Asynchronous Programming and Eventhandling in D

2016-07-06 Thread rikki cattermole via Digitalmars-d-learn
On 06/07/2016 8:39 PM, chmike wrote: On Tuesday, 5 July 2016 at 20:38:53 UTC, Eugene Wissner wrote: On Tuesday, 5 July 2016 at 08:24:43 UTC, O/N/S wrote: Hi ("Grüss Gott") I like the asynchronous events in Javascript. Is something similar possible in D? Found Dragos Carp's asynchronous librar

Re: Asynchronous Programming and Eventhandling in D

2016-07-06 Thread chmike via Digitalmars-d-learn
On Tuesday, 5 July 2016 at 20:38:53 UTC, Eugene Wissner wrote: On Tuesday, 5 July 2016 at 08:24:43 UTC, O/N/S wrote: Hi ("Grüss Gott") I like the asynchronous events in Javascript. Is something similar possible in D? Found Dragos Carp's asynchronous library (https://github.com/dcarp/asynchron

Re: Asynchronous Programming and Eventhandling in D

2016-07-05 Thread Eugene Wissner via Digitalmars-d-learn
On Tuesday, 5 July 2016 at 08:24:43 UTC, O/N/S wrote: Hi ("Grüss Gott") I like the asynchronous events in Javascript. Is something similar possible in D? Found Dragos Carp's asynchronous library (https://github.com/dcarp/asynchronous). Are there any more integrated (in Phobos/in D) ways to wor

Re: Asynchronous Programming and Eventhandling in D

2016-07-05 Thread chmike via Digitalmars-d-learn
Hello, It looks interesting. This is now my current list of asynchronous libraries written in D (not a C lib wrapper). Collie : https://github.com/putao-dev/collie libasync : https://github.com/etcimon/libasync eventcore : https://github.com/vibe-d/eventcore asynchronous: https

Asynchronous Programming and Eventhandling in D

2016-07-05 Thread O/N/S via Digitalmars-d-learn
Hi ("Grüss Gott") I like the asynchronous events in Javascript. Is something similar possible in D? Found Dragos Carp's asynchronous library (https://github.com/dcarp/asynchronous). Are there any more integrated (in Phobos/in D) ways to work asynchronously? An example: One server ask a secon