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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Download Accelerator – Async Rust Edition

9 点作者 wofo11 个月前

2 条评论

mnahkies11 个月前
Clicked on this as I&#x27;ve fond memories of download managers, though I was more interested in resuming downloads across many dial up sessions than throughput improvements. It&#x27;s a good tip how they can apply to blob storage.<p>Nit: As someone new to rust, I was a bit confused by the &quot;clone the semaphore&quot; part (as that would be a bit self defeating), but it turns out you&#x27;re not actually cloning it. Rather the Arc wrapper is being cloned and managing access&#x2F;lifetime of a single semaphore instance.<p>There&#x27;s a detailed explanation on stack overflow here that make it click for me <a href="https:&#x2F;&#x2F;stackoverflow.com&#x2F;questions&#x2F;40984932&#x2F;what-happens-when-an-arc-is-cloned#40985661" rel="nofollow">https:&#x2F;&#x2F;stackoverflow.com&#x2F;questions&#x2F;40984932&#x2F;what-happens-wh...</a>
brink11 个月前
I love async Rust, but no, you don&#x27;t _need_ it to build something like this.<p>You can create 50 kernel threads in a millisecond. I doubt the user is going to notice the difference in implementation.
评论 #40769687 未加载