alt.hn

5/10/2026 at 2:44:17 PM

I made Rust’s cargo copy but for CPP

https://github.com/user-with-username/crow

by anybodyy

5/13/2026 at 10:16:09 AM

The title made me think there was a cargo subcommand `cargo copy`.

by openquery

5/13/2026 at 11:00:03 AM

Me too, I immediately tried to look it up!

by bigfishrunning

5/13/2026 at 7:01:46 AM

Regarding compilecommands.json ... I assume you intened crow packages to be portable, how would one specify macos , linux, windows compile command separatly?

Most libraries build with cmake, make etc, how does this interact?

by voxelghost

5/13/2026 at 10:00:48 AM

I don't think cpp programmers will use a package manager written in rust.

by feverzsj

5/13/2026 at 11:03:07 AM

Why not? Do people really care about implementation language that much? Would they even notice if they installed with apt or whatever?

by bigfishrunning

5/13/2026 at 9:40:53 AM

Noble effort but that ship has sailed. Cargo works because it was there from the start so basically everyone uses it.

C++ doesn't have one true package manager which means all third party dependencies will use totally different build systems and you can never have an easy `cargo add ...`. The closest I know of is vcpkg which has a decent selection but even then it's missing lots and still really clunky to set up.

I also worry about unpopular software repositories like that - it would be very easy to take some popular software that isn't packaged there, add it, bide your time and then poke some malware in. You don't even need to gain the original maintainers' trust.

The same applies to things like Flathub. I'm really surprised it hasn't happened yet (as far as I know).

by IshKebab

5/13/2026 at 7:48:21 AM

It would help to have some documentation, and maybe a comment about what this does better/differently than vcpkg+ninja, which quite frankly works really well.

by stackghost