(Another post about React Native) Facebook engineers keep telling everyone that React Native is not used in the main Facebook app. I always wondered what is stopping them from start using it. Perhaps app size is a massive concern? Maybe all this tooling around their app is not really compatible with React Native? Its interesting that they have a ton of legacy Obj-c code (considering that companies started to build ap…
iOS at Facebook [pdf]
91–100 of 111 posts
Re: iOS at Facebook [pdf]
#92It's all a bunch of bored engineers looking for ways to be clever but without anyone to take ownership of the codebase. There is absolutely no reason for the Facebook app to be so large and have so many classes. The app itself doesn't do that much.
Yeah, the difference between Facebook and Instagram or Twitter is incremental . They basically do the same stuff, Facebook does a little bit more (although, they entirely removed direct messages). Why is the Facebook app so huge?
Re: iOS at Facebook [pdf]
#93Would be interested to see some comparison with the Android app which seems to have most of the same functionality at 1/4 the size with 25MB [1] compared to the 100MB of iOS. Seems like either iOS team at FB has significant cruft laying around or iOS doesn't scale as well as Android and FB is hacking around that. Possibly a bit of both but think it would be an interesting comparison in addition to the war stories abo…
iOS apps are shipped as fat binaries, so for one, part of that 100mb app is duplicated slices of binaries for armv7, arm64 and possibly, but not likely, armv7s. Android apps enjoy bytecode that is getting JIT-ed on install.
Re: iOS at Facebook [pdf]
#94(Another post about React Native) Facebook engineers keep telling everyone that React Native is not used in the main Facebook app. I always wondered what is stopping them from start using it. Perhaps app size is a massive concern? Maybe all this tooling around their app is not really compatible with React Native? Its interesting that they have a ton of legacy Obj-c code (considering that companies started to build ap…
It would probably be a huge pain to migrate all 18,000 classes, tests, tools, etc., over to a React Native app. Also JS has less fine grained tooling for performance profiling (try stepping through JS bytecode for performance analysis, it's a PITA). One day it might get there, but not today. If it works, why change it?
Re: iOS at Facebook [pdf]
#95Re: iOS at Facebook [pdf]
#96Am I reading this right, there are interns and engineers running PHP in a debugger on production data? How else would he be able to memorialize his own account and trigger the email?
Re: iOS at Facebook [pdf]
#97Earlier quoted context omitted.
iOS apps are shipped as fat binaries, so for one, part of that 100mb app is duplicated slices of binaries for armv7, arm64 and possibly, but not likely, armv7s. Android apps enjoy bytecode that is getting JIT-ed on install.
Is there any technical justification for this or it's purely economical/financial?
Re: iOS at Facebook [pdf]
#98Earlier quoted context omitted.
From what I have heard they are now expecting their employees to still move fast, break stuff, but be ready to be penalized for it if you do. So, really, they are encouraging their employees to move at a steady pace with occasional hack nights when there is an upcoming release in the near-term. Facebook is growing old.
Does Facebook pay overtime for "hack nights"?
Re: iOS at Facebook [pdf]
#99Earlier quoted context omitted.
Yeah, the difference between Facebook and Instagram or Twitter is incremental . They basically do the same stuff, Facebook does a little bit more (although, they entirely removed direct messages). Why is the Facebook app so huge?
I wouldn't be surprised if all the messages code is still in the app.
So yeah, it's probably all dead code that's still there.
Re: iOS at Facebook [pdf]
#100It's interesting to note that this presentation strongly contradicts the advice of "The Pragmatic Programmer" and "Clean Code", which are highly respected by many. Does this mean that those books are wrong, or does it mean that Facebook will eventually come to regret their philosophy? Or maybe writing this kind of code is somehow fundamentally different, so the usual wisdom and rules of thumb don't apply. I really do…
SRC: http://www.wired.com/2015/09/google-2-billion-lines-codeand-...