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.

TheKitchenSync - A Tool Belt for iOS Concurrency

34 pointsby asarazanabout 12 years ago

3 comments

asarazanabout 12 years ago
As a small post-mortem, one interesting thing we learned while building this library: The reason Apple never included a read/write lock.<p>They're hard to get right (probably not a problem for Apple), and their overhead usually counterbalances any potential performance gains (possibly a problem for the unwary developer).<p>We've got some optimization work to do :-)
评论 #5701198 未加载
评论 #5700966 未加载
rogerbinnsabout 12 years ago
I love that Objective C/Foundation provides a distinction between mutable and non-mutable collections and tends to favour the latter. (I also hate they make it impossible to test which a collection is.)<p>Pet peeve: "insure" is used on the page. For some bizarre reasons Americans use that word when they mean "ensure". The difference is very important - insure is when you don't want something to happen and ensure is when you do!
评论 #5701885 未加载
评论 #5701892 未加载
评论 #5701626 未加载
stcredzeroabout 12 years ago
What about a subset of Hoare's CSP, as in Golang/Erlang? Objective-C already has support for immutables. How hard would it be to implement channels?
评论 #5701359 未加载