TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Announcing the tokio-io Crate

136 pointsby miqktabout 8 years ago

6 comments

cetra3about 8 years ago
I would really like a better information around the difference between Tokio &amp; Futures:<p>* What is Tokio &amp; why was there a need for its own terminology? (Reactors, Core, Proto etc..)<p>* What are the differences between Futures and Tokio? When would I use one? When would I use the other?<p>* Can I use futures without tokio?<p>* For all of the structs in Futures, Streams, Sinks, etc.. where are the examples?
评论 #13899134 未加载
评论 #13900003 未加载
评论 #13899039 未加载
评论 #13899253 未加载
nickparkerabout 8 years ago
Has anyone tried using this to implement a game or any complex GUI really in functional reactive style yet?<p>I&#x27;ve been playing with ScalaRx a bit (not to be confused with RxScala...) and it&#x27;s a really clean feeling abstraction for GUI, which I normally hate.<p>It&#x27;d be interesting to see similar ideas applied in Rust.
评论 #13900624 未加载
评论 #13899285 未加载
mike-cardwellabout 8 years ago
Hmm. I have a Framed&lt;TcpStream,MyCodec&gt;. I used to call into_inner() on this to get the stream when it came time to upgrading to a TlsStream&lt;TcpStream&gt;, but that function has gone with this upgrade. I don&#x27;t see any equivalent function to do this either anymore. Any ideas?
评论 #13901016 未加载
Ericson2314about 8 years ago
Bytes seems like too many things in order one. It should use <a href="http:&#x2F;&#x2F;burntsushi.net&#x2F;rustdoc&#x2F;byteorder&#x2F;" rel="nofollow">http:&#x2F;&#x2F;burntsushi.net&#x2F;rustdoc&#x2F;byteorder&#x2F;</a>
评论 #13900001 未加载
评论 #13900002 未加载
hokkosabout 8 years ago
So Codec and UdpCodec from tokio-core are not related ?
评论 #13899202 未加载
newsat13about 8 years ago
Finally! I was waiting for bytes crate. Really need it for vectored I&#x2F;O in my project. Super happy