Re:Modern C++ Won't Save Us
by galangalalgol on Tuesday April 23, 2019 @09:36AM
(#19728400)
Cargo is the problem for those organizations. People who worry about security and safety often develop on airgapped networks. You can go nostd for small stuff. For bigger stuff you could mirror crates.io but that isn't a well supported workflow and it's a lot o code from a lot of randos. The notion of a blessed subset would help get more buy in from that community. Even still, rustup isn't working on airgapped Dev nets and it's a nice feature especially if you are crosscompiling.
Cargo now supports airgapped use (no crates.io, no github) since the latest release.
Re:Modern C++ Won't Save Us
by galangalalgol on Tuesday April 23, 2019 @12:49PM
(#19730398)
Awesome! Can you provide some documentation to get me started? I have been unable to find any.
Re:Modern C++ Won't Save Us
by swiftcoder on Tuesday April 23, 2019 @10:35AM
(#19729006)
Thankfully Cargo is an optional component. We've replaced Cargo for internal use (all dependencies checked into the monorepo and compiled with Buck).
It is a legitimate C killer. C++, not so much.
people who liked C (and didn't like C++) are more likely to move to go. Rust has a healthy community of ex and current C++ programmers.
People who don't like GC will not move to Go.
That said, there are many performance-critical applications who are not security-critical, and in those I'd expect C/C++ to persist pretty much indefinitely. And many security-critical applications which are not performance-critical, and can perfectly well be served by garbage collected languages like Java/C#/Go.