News for hackers. Stuff that matters.
Re:Cargo-style dependency management for C, C++ and other la... by dmytrish on Wednesday October 21, 2020 @07:22AM (#24846684)
C++ is a terrible language for small, one/few-person projects.

It still sucks for bigger projects that cannot reinvent the ecosystem around them and need to rely on third-party libraries. Frameworks try to alleviate the problem and to provide a saner ecosystem sandbox, with varied success.

Once a project becomes large enough to define its own ecosystem (Android, Chrome, Firefox, KDE/Qt, google3, etc), C++ becomes remotely sustainable: the language ecosystem is not a bottleneck anymore, compilers get fixed and extended when needed, libraries are heavily morphed or rewritten, build systems are usually custom anyway. It takes a gigantic snowflake to fit C++ niche, and even then it requires a lot of internal engineering and in-house experience to make developer experience bearable.

Rust is eating the small-scale niche like a fire, it is proving successes in the middle-scale niche. It will be interesting to see growing pains and ecosystem language/adjustments when the new generation that started with Rust grows up and large projects start to get written and maintained in Rust.

Re:Cargo-style dependency management for C, C++ and other la... by pjmlp on Thursday October 22, 2020 @01:04AM (#24855060)
As one person team, C++ was quite good to avoid touching C as much as possible, while being able to use the safety and abstractions I enjoyed so much from Turbo Pascal.

Rust isn't eating any small-scale niche of GUIs and shipping binary libraries any time soon.