3 ms·
Where are those things in the standard library of C or C++, which most software is written in? Most C Debian packages have a few dependencies in my experience,
by CJefferson 2y ago
Where are those things in the standard library of C or C++, which most software is written in?
Most C Debian packages have a few dependencies in my experience, they are just “standard”, because they are old and stable.
- jmb99 2y agoParsing command line arguments, reading/manipulating binary data, memset_s are of course all available in the C standard library. I’m not familiar with rust, but if it’s true that dependencies are required for those types of basic operations... yikes, to say the least. If you include boost (which, admittedly, is a heavy dependency, but still a single one), everything mentioned is possible.
- steveklabnik 2y agoJust to be clear about it, Rust has the same level of this stuff in the standard library as C does. Like, the equivalent of argc/argv is in the rust standard library. The library being included is more like getopt conceptually; a package built on top of that that makes things nicer.
- nequo 2y ago> If you include boost (which, admittedly, is a heavy dependency, but still a single one) Then in principle, we could curate a set of useful Rust crates, treat the set as a single dependency, and be on the same page as C++ with Boost.