News for hackers. Stuff that matters.
Re:Cargo-style dependency management for C, C++ and other la... by einpoklum on Wednesday October 21, 2020 @04:32AM (#24845889)
> Having a single Rust compiler that everyone uses on all platforms is powerful.

It's also quite problematic, in that this tends to create a lot of reliance on non-standardized compiler behavior and quirks.

> C++ might get there eventually with clang

I sure hope not! (and I appreciate clang). It's important and useful for there to be several compilers. Plus, if any compiler becomes the single standard one, then it definitely needs to be strongly "copyleft"ed, e.g. with a GNU GPL license.

Otherwise agree with the problems you identified.

Re:Cargo-style dependency management for C, C++ and other la... by ansible on Wednesday October 21, 2020 @10:15AM (#24848071)
> It's also quite problematic, in that this tends to create a lot of reliance on non-standardized compiler behavior and quirks.

While that may be a problem in other communities, with Rust there is a general aversion to undefined behavior. It is my belief that there will be more community pressure to fix quirks and such, and not depend upon them in general.

Re:Cargo-style dependency management for C, C++ and other la... by einpoklum on Wednesday October 21, 2020 @05:05PM (#24852166)
> with Rust there is a general aversion to undefined behavior.

Ah, but it will be defined behavior - just implicitly defined.