Thread with 3 posts

jump to expanded post

has anyone following me worked with Rust’s standard library networking stuff (std::net)? how was it? I’m interested in TCP and possibly non-blocking usage.

(I’m not interested in other ways of doing networking in Rust.)

Open thread at this post
Kyle Lacy , @kylewlacy@hachyderm.io
(open profile)

@hikari I haven’t worked with it extensively, but I found it to be much much easier than working with Berkeley sockets in C directly. It feels like a pretty good balance between ergonomics, low-level control, and cross-platform support

Non-blocking is definitely doable but I bet it’ll be painful without the conveniences of the async/await world.

Open remote post (opens in a new window)