[GSoC Proposal draft] High-Level Networking

Torarin torarind at gmail.com
Thu Apr 7 06:17:43 PDT 2011


2011/4/7 Jonas Drewsen <jdrewsen at nospam.com>:
> On 07/04/11 00.32, Max Klyga wrote:
>>
>> OK, I've absorbed enough informtion to transform my thoughts in the
>> second proposal draft.
>> I'll be posting it direcltly to GSoC website and correct it, if necessary.
>>
>> Proposal is situated here:
>>
>> http://www.google-melange.com/gsoc/proposal/review/google/gsoc2011/neku42/1
>>
>> Comments
>> are welcome.
>>
>
> Seems good to me. Some comments:
>
> You mention that a reactor will probably be used for implementing the
> proactor. On windows it really doesn't make sense to do this it think.
> Instead overlapped IO should be used since it maps very well with the
> proactor pattern. I also suggest that you specify which OSes you will make
> support for. If that is only e.g. linux then building on reactors is the
> right way to go as you've planned.
>
> /Jonas
>

Indeed it looks good! You can use the reactor pattern on Windows as
well, but several sources say that overlapped IO is more efficient,
and it probably is cleaner. But it's still nice to have a reactor that
wraps select and friends, and then specialize the individual proactors
as needed. Was that what you were thinking, Max?

Torarin


More information about the Digitalmars-d mailing list