Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

can someone explain how Meta's code is so large?

the tradeoff for high level languages is supposed to be that you gain a lot of expressivity (requiring fewer lines for a developer to express their intent) and you lose performance because of the multiple layers of abstraction required.

10 million lines of code for an Android app, or family of apps, feels like the tradeoff has definitely not born fruit.

operating systems written in Assembly have far fewer lines of code than this.



Past discussion on why Uber's app is so big, many of the points are relevant:

https://news.ycombinator.com/item?id=25376346


This comment is a gem. Every HNer who has thought 'why do they need 100 engineers, I could do that in a weekend' should go read this now.


> why do they need 100 engineers

You're off by an order of magnitude. Hundreds of developers? Sure. But Uber has thousands of developers.


I think the point stands: the amount of complexity involved in each little piece of app is huge when taking into account dozens of countries and customizations by city.

If it still doesn't seem worthy of 'thousands of engs', imagine breaking down every point in the list to the level of detail the author broke down payments. And then apply the logic in the top comment mentioning backend systems + teams to support other processes (and internal tools needed).

Edit: sorry too much caffeine got me edgy.


interesting how much of this is glue -- like if mobile had better support for inter-app handoff, these flows could be entirely delegated to external provider's app (paypal, venmo, support saas)

(though hard to generalize to other parts of the app, bc payments is inherently glue-y)

constantly wonder what kind of support layer would make UX integration user-friendly, but also developer-friendly


I feel like 10 million lines is still massive, given all of the points mentioned in that comment.

UI pages must be immense in terms of lines of code.


Whoa. At first I didn't blink at 10M lines of code, but you're right they're talking strictly about Android.

You have to factor in Instagram and WhatsApp, but still...that's a lot of code.


it really is. a sibling comment of yours points out some info posted by a former Uber engineer about why, and even considering that, 10 million lines seems extremely high.

Windows XP is smaller than the Facebook app for Android...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: