Asynchronicity in D

Torarin torarind at gmail.com
Fri Apr 1 07:54:35 PDT 2011


2011/3/31 Jonas Drewsen <jdrewsen at nospam.com>:
> On 31/03/11 21.19, Torarin wrote:
>>
>> I'm currently working on an http and networking library that uses
>> asynchronous sockets running in fibers and an event loop a la libev.
>> These async sockets have the same interface as regular Berkeley
>> sockets, so clients can choose whether to be synchronous, asynchronous
>> or threaded with template arguments.
>>
>> For instance, it has HttpClient!AsyncSocket and HttpClient!Socket.
>>
>> Torarin
>
> Very interesting! Do you have a github repos we can see?
>
> /Jonas
>

I just put one up: https://github.com/torarin/net
Here's an example: https://github.com/torarin/net/blob/master/example.d

Torarin


More information about the Digitalmars-d mailing list