Re:I built a Cargo-like build tool for C/C++
by lgtx on Thursday April 09, 2026 @12:50PM
(#47706008)
The installation instructions being a `curl | sh` writing to the user's bashrc does not inspire confidence.
[ Parent
| on HN ]
Re:I built a Cargo-like build tool for C/C++
by ori_b on Thursday April 09, 2026 @12:52PM
(#47706039)
They did say it was inspired by cargo, which is often installed using rustup as such:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
Re:I built a Cargo-like build tool for C/C++
by account42 on Friday April 10, 2026 @12:31PM
(#47720543)
Sure but being inspired by something doesn't mean you have to cargo cult the worst aspects of it.
Re:I built a Cargo-like build tool for C/C++
by bikelang on Thursday April 09, 2026 @01:27PM
(#47706561)
I don’t love this approach either (what a security nightmare…) - but it is easy to do for users and developers alike. Having to juggle a bunch of apt-like repositories for different distros is a huge time sink and adds a bunch of build complexity. Brew is annoying with its formulae vs tap vs cask vs cellar - and the associated ruby scripting… And then there’s windows - ugh.
I wish there was a dead simple installer TUI that had a common API specification so that you could host your installer spec on your.domain.com/install.json - point this TUI at it and it would understand the fine grained permissions required, handle required binary signature validation, manifest/sbom validation, give the user freedom to customize where/how things were installed, etc.
Re:I built a Cargo-like build tool for C/C++
by maccard on Thursday April 09, 2026 @02:36PM
(#47707741)
Given you're about to run a binary, it's no worse than that.
Re:I built a Cargo-like build tool for C/C++
by hyperhopper on Thursday April 09, 2026 @02:50PM
(#47707989)
It is definitely worse. At leas a binary is constant, on your system, can be analyzed. Curl|sh can give you different responses than just curling. Far far worse
Re:I built a Cargo-like build tool for C/C++
by maccard on Thursday April 09, 2026 @05:24PM
(#47710369)
Only if you download an analyse it. You’re free to download the install script and analyze that too in the same way. The advantage that the script has is it’s human readable unlike the binary you’re about to execute blindly.
Re:I built a Cargo-like build tool for C/C++
by uecker on Thursday April 09, 2026 @01:24PM
(#47706520)
This is fitting for something simulating cargo, which is a huge supply chain risk itself.
[dead]
Re:I built a Cargo-like build tool for C/C++
by Bjartr on Thursday April 09, 2026 @12:55PM
(#47706085)
If you'd just left off "to fuck" you'd end up way less downvoted, if it even happened at all.
Re:I built a Cargo-like build tool for C/C++
by jjgreen on Thursday April 09, 2026 @01:38PM
(#47706743)
With fucks, without fucks, in iambic pentameter, anything vaguely critical of Rust will be downvoted. As you can see.
[dead]
Re:I built a Cargo-like build tool for C/C++
by jvanderbot on Thursday April 09, 2026 @01:08PM
(#47706276)
Knowing the reason something is considered bad does not immediately change that fact that it is considered bad.
Social / emotional signals still exist around that word.
Re:I built a Cargo-like build tool for C/C++
by account42 on Friday April 10, 2026 @12:34PM
(#47720577)
Probably not. This isn't prime time TV, some foul language is tolerated - but complaining about down-votes, especially preemptively, has a predictable response (IMO rightfully so).
Re:I built a Cargo-like build tool for C/C++
by jjgreen on Saturday April 11, 2026 @07:39AM
(#47729718)
No complaints about down votes, simply warning the OP that (s)he will be getting some. Personally I quite like them, they indicate that I've irritated a Rust evangelist; that gives me a warm feeling inside.