News for hackers. Stuff that matters.
Re:Build faster with Buck2: Our open source build system by zdw on Thursday April 06, 2023 @01:45PM (#35471800)
s/Python/NodeJS/ and everything in this statement is multiplied by 10x
Re:Build faster with Buck2: Our open source build system by IshKebab on Thursday April 06, 2023 @05:56PM (#35475079)
Some of it is also true for Node (e.g. poor package quality), but I think it would be hard to argue that the actual package management of Node is anywhere near as bad as Python.

Node basically works fine. You get a huge node_modules folder, sure. But it works.

Python is a complete mess.

Re:Build faster with Buck2: Our open source build system by nextaccountic on Thursday April 06, 2023 @06:33PM (#35475438)
> You get a huge node_modules folder, sure. But it works.

pnpm and other tools deduplicates that

Re:Build faster with Buck2: Our open source build system by zdw on Thursday April 06, 2023 @06:08PM (#35475204)
I've tended to have the exact opposite experience - Node projects have 10x (or more) the dependencies of Python ones, and the tooling is far worse and harder to isolate across projects.

A well engineered virtualenv solves most Python problems.

Re:Build faster with Buck2: Our open source build system by crabbone on Thursday April 06, 2023 @07:44PM (#35476120)
I don't have enough experience with npm, but one thing I know for sure is that it can support multiple different versions of the same package. Not in the way I'd like it to do that (i.e. it also allows this in the same application), but at least in this sense it's not like Python.