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

> I manage a python monorepo in prod and dependency management is hell.

Why does it work for FAANG but not for you?



FAANGs vendor everything so there's only one version of a given dependency, and they pay people to make this work.


Bingo, this is what I was referring to in my comment. And yes, I assume it is quite a lot of labor. But I feel that lot of this perceived friction is from people trying to cut corners and avoid doing that labor, while still getting the benefits.


the overarching dream of computing in general is for a few people to do the labour and then for everyone to benefit through the magic of free replication.

if some smart and dedicated engineers can do the work to build a tool that lets everyone trivially manage a monorepo, that is certainly the best possible situation to end up in.


Why does that work for FAANG but not for drawnwren? How difficult is it to support “one version of a given dependency”?


It's as difficult as:

Package A depends on C 1.0 and B depends on C 2.0. How much work it is to get down to one version of C in your dependencies is up to how different 1.0 & 2.0 is, and how A & B use it. But if you want them resolved, it's up to you to do the engineering to A or B.


But pip doesn’t and can’t solve that issue, right?


Correct. The solution is to modify packages A and or B, which is a high cost approach (hence why FAANGs could throw warm bodies at it, but most everyone else throws their hands up in exasperation).


So the canonical solution to this is to use Bazel. The reason I did not end up using Bazel is because it is a pita to manage and I didn't have enough time to allocate to this problem to implement the FAANG solution.

The shell scripts I wrote are a painful, but less painful than dealing with Bazel.


FAANG might have more revenue per line of code




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

Search: