For java, The Maven Central Repository is the de facto centralized repository. But it is not official. For C and C++, is there any package management system at all?
little note for programing language fanatics
if your language has a centralised package repository
go fuck yourself
ie:
python
rust
javascript
if your language has a decentralised package management system, you are ok
c
c++
go
i don't even know how java imports work, i suspect they are decentralized, probably also C# and haskell and lisp and kotlin... again, no idea about any of these things, please do jump in and defend your language nostr:npub19mun7qwdyjf7qs3456u8kyxncjn5u2n7klpu4utgy68k4aenzj6synjnft
Discussion
there isn't! git, at best! that's why submodules
and i think you can still build Go apps without modules enabled if you pull all the deps into a gopath
but go is at least decentralized in this area, as well as relatively intelligent and they provide a cache that means that once one person pulls a url/version tag everyone can use it even if the thing goes offline, which is like the actual benefit of the central system, flipped on its head
so, yeah, hah... ok fuck java then too, i'm putting it in the list of evils