[phobos] Breaking changes for std.socket improvement

Andrei Alexandrescu andrei at erdani.com
Wed Sep 8 07:58:53 PDT 2010


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.


Thanks,

Andrei


More information about the phobos mailing list