[phobos] Breaking changes for std.socket improvement

Masahiro Nakagawa repeatedly at gmail.com
Wed Sep 8 22:11:15 PDT 2010


On Wed, 08 Sep 2010 23:58:53 +0900, Andrei Alexandrescu  
<andrei at erdani.com> wrote:

> On 09/08/2010 09:02 AM, Masahiro Nakagawa wrote:
> [snip]
>
> All sounds good! One funny detail:
>
>>> * 2310: what does byes mean?
>>
>> I don't know, but I think byes stands for "blocking yes".
>
> This is cool :o). I had two hypotheses: typo for "bytes" or some sort of  
> closing ack (plural for "bye").
>
>>> * 2934: select() has well-known issues. Any plans to support the newer
>>> system-dependent APIs or libevent?
>>
>> I will remove select() from Socket in new module.
>>
>> I am thinking about std.event.
>> This module supports system-dependent APIs(kqueue, epoll, etc...) and
>> abstraction layer.
>
> That would be awesome. Sean was also thinking of it and could provide  
> code review. At best we'd integrate std.event with thread messages.

Yeah. Event is a important feature for inter/inner messaging and RPC :)


Masahiro


More information about the phobos mailing list