TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Getting Started with Tokio

166 点作者 lukes386超过 8 年前

5 条评论

silluk超过 8 年前
I've been following futures since the announcement blog post came out (and had been using rust for several months before that) and I've never found a group of crates that intermix so well together. Simple stuff like tokio-tls implementing the Io trait from tokio-core so it can easily be used in bind_transport to secure the connection makes working with tokio and futures so nice. Thanks so much to the people working on this!
评论 #13251504 未加载
mrcsparker超过 8 年前
Thanks for writing this. I often find it difficult to wrap my head around some of these crates if I'm unfamiliar with the problem space. Often times if you haven't tried building a server before you won't know why you would use a crate like this. Having a high level overview of what you might use it for and a simple walked through example is really helpful.
steveklabnik超过 8 年前
The whole tokio stack is having an initial 0.1 release soon. It's incredibly highly anticipated.
评论 #13251166 未加载
Arnavion超过 8 年前
&gt;You can ignore all of the Box stuff; the reasoning behind that isn&#x27;t terribly important right now.<p>What is the reason to box the futures? futures::finished and futures::failed both return FutureResult.
评论 #13251575 未加载
kibwen超过 8 年前
Very happy to see this, Tokio is still so primordial that it&#x27;s sadly underdocumented. Looking forward to seeing that change in the coming year. :)