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.

Rust async/await hits stable tomorrow

97 pointsby cdbattagsover 5 years ago

4 comments

dangover 5 years ago
I appreciate the enthusiasm, but please wait until a thing actually happens before posting it here.<p>Otherwise we end up having to penalize the actual thing as a dupe, or have repetitive split discussion.
评论 #21476456 未加载
vbezhenarover 5 years ago
I don&#x27;t understand the obsession with async code. I can understand it with JavaScript: browser environment was crippled and node copied that instead of making proper threading available. But for most environments it&#x27;s not a problem. Just use thread pool and enjoy sane sequential programming model. Yes, it might not work for Google scale. But it should work for the vast majority of projects and if you really need to think about scaling, you should think about scalable architecture to be able to scale to multiple machines.<p>It&#x27;s like every programming language and framework today suddenly decides to introduce those async primitives and I&#x27;ve yet to find a single use-case for it in my projects.
评论 #21466005 未加载
评论 #21466251 未加载
评论 #21466055 未加载
评论 #21466034 未加载
评论 #21466428 未加载
评论 #21466185 未加载
评论 #21466295 未加载
评论 #21466233 未加载
评论 #21470798 未加载
评论 #21466000 未加载
评论 #21466205 未加载
评论 #21466983 未加载
评论 #21466216 未加载
评论 #21466191 未加载
评论 #21466137 未加载
riquitoover 5 years ago
Can we avoid posting &quot;1 day earlier&quot; news? We&#x27;re just going to dilute the discussions
wsgeekover 5 years ago
Async is great... all those times a thread is waiting for even fractions of a second can now be easily put to use... using the same thread if needed (a big win for single threaded Python for example).
评论 #21466718 未加载