D and Async I/O
bauss
jj_1337 at live.dk
Mon May 11 15:02:59 UTC 2020
On Monday, 11 May 2020 at 14:02:54 UTC, Russel Winder wrote:
> OK, so I need to create an asynchronous TCP server (not HTTP or
> HTTPS, this is
> a real server ;-) ).
>
> I think the normal response is "Use Vibe.d". However, recently
> I see Hunt is an alternative. Has anyone any way of choosing
> between the two?
>
vibe.d is much more mature than Hunt, that would be my take on it.
Also Hunt lacks documentation etc.
> I notice that Hunt uses it's own library eschewing all of
> Phobos. Is this an
> indicator that Phobos is not suitable for networking activity?
std.socket is terrible, so yes that is an indicator.
You can't even wrap something up fast in it either.
Basically it's low-level while not being low-level at the same
time. You have to handle __everything__ yourself pretty much.
More information about the Digitalmars-d-learn
mailing list