Re:Fourteen Years of Go
by Capricorn2481 on Saturday November 11, 2023 @10:32AM
(#38231173)
But we're not talking about installing the latest versions of your libraries. Otherwise, Go will definitely break after 10 years
[ Parent
| on HN ]
Re:Fourteen Years of Go
by RadiozRadioz on Saturday November 11, 2023 @12:06PM
(#38232120)
Yes I know, the situations I described would apply if you used libraries with the same version 10 years from now.
In the case of the "internal dependency" one, plenty of people regularly patch stuff in NPM and keep the same version number.
Even with same lock file, modules that depend on native compilations will have problem with changing c compilers, libraries etc. Some libraries are fixed to minor version of node or node-gyp, so they won't compile with newer node. I had run into these issues both in both python and nodejs.