Phobos v2 asynchronous IO
Paul Backus
snarwin at gmail.com
Sat Apr 16 21:26:18 UTC 2022
On Saturday, 16 April 2022 at 19:20:25 UTC, IGotD- wrote:
> On Saturday, 16 April 2022 at 16:25:16 UTC, Paul Backus wrote:
>>
>> Why wait for Phobos to get its act together? Put it up on dub
>> and we can start playing around today.
>
> Because it should be an official async Phobos interface that
> other libraries can use. There already exist async libraries
> which are half done and maintained. Also you shouldn't be
> forced to pull some third party library for basic IO
> functionality.
A library can be "official" and "first party" without being part
of Phobos. For example, it could be owned by the [Github dlang
organization][1], and have its documentation hosted on dlang.org
alongside the official standard library docs.
There are substantial advantages to putting a library on dub
rather than in Phobos, including the ability to release breaking
changes using semantic versioning, and the ability to release
updates independently of Phobos's release schedule.
As far as "half done and maintained" goes...the people writing
and maintaining libraries on dub and the people writing and
maintaining Phobos modules are, for the most part, the same
people. If they couldn't do a good enough job to satisfy you on
dub, what makes you think they'll do a better job in Phobos?
[1]: https://github.com/dlang/
More information about the Digitalmars-d
mailing list