www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - std.asio?

reply Martin Drasar <drasar ics.muni.cz> writes:
Hi,

I started to work on a networking heavy project and I found out that
there is nothing like boost.asio in D's standard library. So I looked
around and discovered that vibe.d has nice fiber-based asynchronous
library, but sadly it does not play along well with threads. Then I
looked some more and found nothing else... (this can of course mean that
I can't search)

I have hacked a solution that implements more or less what I need, but
it got me thinking that such thing would be very useful in standard
library. So I have some questions (in descending order of importance):

- Is there some asynchronous networking library for D out there?
- Is somebody working on such library?
- Is there a plan to work on such library that may be held back by
insufficient manpower or by yet-to-be-added libraries like the new I/O?
- If there is nothing and nobody is working on it, what would be the
best course of action if I wanted to do it?
DIP -> implementation -> experimetnal -> std?
list discussion -> implementation -> experimental -> std?
implementation <-> discussion -> experimental -> std?
some other permutation?

Any other thoughts?

Cheers,
Martin
Mar 11 2013
parent Nick Sabalausky <SeeWebsiteToContactMe semitwist.com> writes:
On Mon, 11 Mar 2013 17:06:40 +0100
Martin Drasar <drasar ics.muni.cz> wrote:

 So I looked
 around and discovered that vibe.d has nice fiber-based asynchronous
 library, but sadly it does not play along well with threads.

Thread support is being worked on for vibe.d.
Mar 11 2013