Don’t forget to update the UI on the main thread—everywhere.
-
-
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
See
@mpweiher book (ch 9) For me, the worst one is compile time but I don’t think you were asking me about that. :)Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
In general: 1. Much slower (Java/JS) than expected/claimed (C/C++) 2. Unpredictable, requires optimizer to be magical, which it sometimes is 3. Difficult to optimize (see 2)
-
Current specific thing: Swift coding is incredibly slow, the JSON decoder clocks in at 10 MB/s. For comparison, local SSDs are at ~2 GB/s, so 200x faster. With ObjC and MPWFoundation, I get 20x bettter at ~200MB/s https://blog.metaobject.com/2020/04/faster-json-support-for-iosmacos-part-8.html … But it's a target-rich environment…
End of conversation
New conversation -
-
-
Totally agree with
@mpweiher, the gotcha is the language and some of the frameworks. Unfortunately :(Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
Are you an iOS developer?
-
i'll be making an app on ios
- Show replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
