Remix.run Logo
shadymoney 2 hours ago

This is why I am not a huge fan of separate package managers for libraries, such as in the case of rust, or node. The C style of sharing deps. couldn't really be simpler as just including the headers in your Makefile.

We really don't need more package managers other than the ones provided by your operating system, but I dunno maybe its just me.

kortex 2 hours ago | parent | next [-]

That ship has sailed, traveled around the world, and docked in a foreign port at this point.

Including headers isn't remotely "simple". There's so many considerations in linking, .SO version compatibility, architecture and instruction set issues, building against multiple versions on the same system. Or if you want to feel frustrated in a single word: GDAL (IYKYK)

And that's only where #include is even applicable. That is not gonna fly for any interpreted language - JS in this case, but also python, ruby, php.

shadymoney 2 hours ago | parent | next [-]

> Including headers isn't remotely "simple". There's so many considerations in linking, .SO version compatibility, architecture and instruction set issues, building against multiple versions on the same system. Or if you want to feel frustrated in a single word: GDAL (IYKYK)

I'd say for issues with instruction sets is a minor edge case, you could argue that having layers of abstraction gives even more room for fault.

That said I am not familiar with GDAL, but from google-fu it seems relatively heavy. Being said, I don't have much familiarity with compiling CXX programs as I do with programming C programs, and C with it's smaller footprint tends to not give me as many problems.

Again, this is from personal experience.

derwiki 2 hours ago | parent [-]

My guess is “go download a library” and it brought back memories of using Linux on dialup circa 2001

YouAreWRONGtoo 2 hours ago | parent | prev [-]

[dead]

btbuildem 2 hours ago | parent | prev [-]

The JS ecosystem in particular, it really seems like it was built by people hell-bent on reinventing the wheel and making all the mistakes / paying all the costs along the way. It's a pretty octagonal wheel so far, but maybe they'll get there eventually.

alehlopeh 2 hours ago | parent [-]

Ecosystems aren’t built by any homogeneous group of people. They’re a sum of their parts. It’s not like there was a committee and that committee decided how things should work wrt wheel reinvention. People publish packages, and the result is something we call an ecosystem.