3 ms·
> Those are the ones who will read this and say “wow Firefox says this is how to make my app fast so I should do it!!1!” and what is going to happen is either t
by lapcat 4y ago
> Those are the ones who will read this and say “wow Firefox says this is how to make my app fast so I should do it!!1!” and what is going to happen is either they’re going to use it wrong, because they aren’t really experts on how locking works, or they’ll copy the code of of Firefox
You can't save people from themselves, but in any case this seems to overlook what I said at the end: "the majority of applications weren't even using lower level primitives like OSSpinLock in the first place, so replacing it was not a concern."
I wouldn't worry about native Mac developers, who I suspect are mostly a dying breed of grizzled old veterans nowadays. To illustrate, I noticed recently that the last post on https://www.reddit.com/r/macprogramming/ https://www.reddit.com/r/macprogramming/ was over 2 years ago, April 2020.
- ccakes 4y agoCounter argument - https://www.reddit.com/r/swift/ https://www.reddit.com/r/swift/ has posts within the last few hours. Granted Swift is technically a cross platform language but it feels safe to assume that the vast majority of users are developing for macOS and iOS.
- lapcat 4y ago> the vast majority of users are developing for macOS and iOS. The vast majority of Swift users are developing for iOS. The article is about macOS and private API. Thus it's only relevant to a small subset of developers who write native Mac software distributed outside the App Store. Note that https://www.reddit.com/r/iOSProgramming/ https://www.reddit.com/r/iOSProgramming/ is itself also extremely active with posts within the last hour, so it's strange to cite r/Swift as evidence of Mac activity.
- girvo 4y agoThe vast, vast majority of the posts on there are for iOS development. macOS barely gets mentioned.
- saagarjha 4y agoI just got a message from a contributor to a popular macOS project I work on about this blog post and how it can help improve our performance, so I think you're mistaken.
- lapcat 4y ago> so I think you're mistaken. What exactly do you think I'm mistaken about? The conclusion of your sentence doesn't follow logically from the first clause. The readers of your comment here know nothing about this macOS project or the contributor who sent you a message. In any case, there's a vast gulf between someone sending you a message and someone actually writing and releasing bad code.