Hacker News new | past | comments | ask | show | jobs | submit login

Without cargo though



Genuine question: What does Cargo do that Go 1.11 modules can't?


Applying the bug fixes in a dependency I'm using when a new version of it is published… [1]

Sarcasm apart, I wasn't talking about features. But cargo is a really well-designed package manager. I've been using Rust full-time for 2 years now and it had never annoyed even once.

[1] the sarcasm was referring to the Minimum Version Selection algorithm used by go's package manager, which is a really bad case of NIH from Go's teams who decided to throw away a thriving community work to do their own stuff, ending up with something different from what everybody else has been for more than 20 years. And unsurprisingly, it's really bad…


> Applying the bug fixes in a dependency I'm using when a new version of it is published…

You can replace a dependency with a local modified copy of the dependency to do this.

Minimum Version Selection is for security reason. It might has some disadvantages, but personally I like it. It gives programmers more control.




Join us for AI Startup School this June 16-17 in San Francisco!

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

Search: