An IO Streams Library

Chris Wright via Digitalmars-d digitalmars-d at puremagic.com
Mon Feb 8 09:11:56 PST 2016


On Mon, 08 Feb 2016 12:19:59 +0000, Atila Neves wrote:

> On Monday, 8 February 2016 at 09:08:53 UTC, Dejan Lekic wrote:
>> I think this is a huge task and requires a (huge) DIP, and
>> collaborative effort of coming up with a good, really good, API for
>> BOTH synchronous and asynchronous IO. As mentioned in the previous
>> messages, there is already an asyncio library, although I am not sure
>> it is good enough to be in Phobos...
>>
>> I know people may not like Boost, but Boost.Asio is amazing and we
>> should perhaps use it as a guide, if not copy the whole API...
> 
> I like boost. Well, sometimes. I _severely_ dislike boost::asio.
> The new couroutines may make it easier to use, I'd have to try 1st, but
> what's the point when vibe.d exists?
> 
> Atila

I can't use vibe.d for one of my projects because I need to keep tight 
control of coroutine scheduling. Better async IO routines in Phobos would 
help me -- though I'm mainly looking for higher level stuff, like a 
telnet handler.


More information about the Digitalmars-d mailing list