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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Q: Why Is the Facebook App So Large? A: iOS Can’t Handle Facebook Scale

28 点作者 daigoba66超过 9 年前

8 条评论

toufka超过 9 年前
If you read the presentation, it&#x27;s more like,<p>&gt;A: Facebook app has such different priorities than other developers, that Apple&#x27;s development ecosystem has &#x27;unreasonable&#x27; expectations and assumptions.<p>Facebook wants to be (and seems to like being) a &quot;clowntown&quot; (as the author puts it) where anyone and everyone can write up a duplicate library to anything and ship it. Any and all code will ship, it just can&#x27;t make the app dip below 60fps. To meet those strange goals, they &#x27;hacked&#x27; together their own GUIKit (at least three of them, actually), their own IDE, their own animation kit, their own debugger, etc. A general theme seemed to be that this was done in order to get everything off the main thread and onto background threads. By only depositing the very smallest amount of work onto the main thread from a gigantic soup of background threads you could keep the app snappy without needing to prune any code.<p>Seems to me to be a silly way to differentiate one&#x27;s self.
评论 #10274359 未加载
andrewchambers超过 9 年前
This is like being proud of doing a shit so large it clogs the toilet. You shouldn&#x27;t be proud of this.
评论 #10275956 未加载
评论 #10276290 未加载
ksec超过 9 年前
Wow, At least that is a start, I have been shouting and even parking for an answer as to why some of the Apps are huge. May be next time i should ask that on Reddit to finally get an response.<p>To be honest performance wise Facebook app is great. Butter smooth, but there is no reason a 20MB App cant be butter smooth either. Feedly App, is only 18MB.<p>And it seems large app isn&#x27;t just Facebook, twitter is 60MB. QQ is 130MB, or We Chat, etc..... Many apps seems to be be way bloated.<p>So are we implying all these apps are over engineered?
wkoszek超过 9 年前
You can take a look at one of the possible reasons in a short piece I wrote about Facebook Paper, and especially screenshots :-)<p><a href="http:&#x2F;&#x2F;www.koszek.com&#x2F;blog&#x2F;2015&#x2F;09&#x2F;08&#x2F;copyright-screen-of-facebook-paper&#x2F;" rel="nofollow">http:&#x2F;&#x2F;www.koszek.com&#x2F;blog&#x2F;2015&#x2F;09&#x2F;08&#x2F;copyright-screen-of-fa...</a>
allsystemsgo超过 9 年前
That&#x27;s silly.<p>I work on a multitude of apps that have <i>huge</i> customer bases. Obviously no where near Facebook but, definitely a couple million users. The largest app has maybe 200K lines of code? And we are always able to find sections of the app to refactor or find dead code to cut.
评论 #10274931 未加载
X-Istence超过 9 年前
The PDF is no longer available.
评论 #10278472 未加载
a3voices超过 9 年前
That&#x27;s an idiotic reason. Obviously they over-engineered their iOS app.
评论 #10274915 未加载
评论 #10274576 未加载
rendambathu超过 9 年前
Shots fired.
评论 #10275171 未加载