just curious, what's the modern way to do Rust fs and tcp streams?
paging @yoshuawuyts and other rustaceans
-
-
was just looking into it, thank you for the quick reply, and I'll let you know how it goes! another concern is performance, I'm making a database, but I have a feeling perf improvements will only come from testing & experimentation.
-
Ah! Well if you're building a DB it's probably best to stick with sync fs access for now. The way the async io traits currently work they make the fs calls about twice as slow compared to their sync counterparts. This is something that needs to be resolved in the futures crate.
- 2 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.