iopipe v0.1.0 - now with Windows support!

Dmitry Olshansky dmitry.olsh at gmail.com
Mon Jun 18 06:08:42 UTC 2018


On Sunday, 17 June 2018 at 04:52:07 UTC, Martin Nowak wrote:
> On 06/10/2018 10:10 PM, Steven Schveighoffer wrote:
>> Note that the new io library also supports sockets, which 
>> IODev did not have support for, AND has a pluggable driver 
>> system, so you could potentially use fiber-based async io 
>> without rebuilding. It just makes a lot of sense for D to have 
>> a standard low-level io library that everything can use 
>> without having to kludge together multiple types of io 
>> libraries.
>
> Note that the WIP std.io library is fully @nogc @safe, so it's 
> a bit
> edgy on using latest features. Soon want to move to use 
> DIP10008 instead
> of preallocated exceptions.

This is very encouraging. I’d like to see it working well with 
Photon (though my time is very limited atm). Any thoughts on what 
set of syscalls I need to support?

Maybe I could just provide my own “native” driver that fits your 
concept of I/O driver in io library.

> With that and @nogc in the Driver interface¹ it's still to be 
> seen
> whether we can adapt this well with vibe.d or need to adjust the
> low-level design.
>
> -Martin
>
> ¹: https://martinnowak.github.io/io/std/io/driver/Driver.html




More information about the Digitalmars-d-announce mailing list