3 ms·
Among package manager + build tool devs I know, cargo is considered by most I know (maybe 2-3) to be best-of-class. In terms of influences, here's an OCaml att
by monoideism 5y ago
Among package manager + build tool devs I know, cargo is considered by most I know (maybe 2-3) to be best-of-class.
In terms of influences, here's an OCaml attempt to replicate cargo (I wish them well): https://github.com/OCamlPro/drom https://github.com/OCamlPro/drom
Klabnik also mentioned Python's poetry below. Yarn as well, since Yehuda Katz was involved.
Note: I seem to recall you're an Ada dev, so I should mention that as far as build tools go, I've always really appreciated gprbuild, which is far superior to other build tools of its vintage. If it had a built-in package manager like cargo, it could compete with cargo.
- pjmlp 5y agoSo good that Google is not using it on Android, nor Fuchsia. I like Ada, but no not an Ada dev, rather JVM/.NET/C++, I rather go polyglot. And in this regard, while cargo is nice, I don't see how it is better than Maven (I don't suffer XML allergy), NuGET, vcpkg/conan, specially because it only does source packages with npm like levels of dependencies.
- monoideism 5y agoYeah, I almost changed that "Ada dev" since as a polyglot dev, I figured you'd correct me. What I meant was that you had significant Ada experience (or I'm confusing you w/someone else). Anyway, yeah, Maven is very good and competes with cargo, as well. I agree. Nuget? Absolutely not, based on my previously undefined rubric. Unlike Maven and cargo, it's just a package manager unless it's recently been expanded (I'm not much of a Windows guy, so not sure). With some pretty crappy defaults as of a year or two ago. No idea about vcpkg or conan. (I probably should have specified that I'm comparing among package manager that include build tools - or vice versa). Edit: I suspect cargo will get around to binary packages at some point, as soon as that limitation is resolved in rustc using something like TUF. cargo has not been around nearly as long as Maven.
- monoideism 5y agoBtw, I'm also a polyglot dev. I've never used rust professionally (unlike say Ada), but I do really appreciate cargo. And for the record, despite my love for functional programming, I also have a strong appreciation for Java (not as much as Ada, but it's a great language when used by competent devs).