News for hackers. Stuff that matters.
Re:C++ vs. Rust Build Times by insanitybit on Friday January 06, 2023 @02:20AM (#34271885)
That doesn't seem relevant. The article isn't asking "is C++ better than rust?" or trying to make qualitative judgments on overall "worth" - it's an exploration of one area, an apples to apples (as close as possible, of course) comparison of compilation speed given a set of optimizations and constraints. Rust may do more analysis, c++ may have other tooling, but that's not relevant - the speed is the speed.

Sanitizers should primarily impact runtime performance anyways, but that's moot.

Re:C++ vs. Rust Build Times by strager on Friday January 06, 2023 @04:04AM (#34272588)
> Sanitizers should primarily impact runtime performance anyways, but that's moot.

In my experience, ASAN has a huge negative impact on build times for C++ code (Clang and GCC).

Re:C++ vs. Rust Build Times by insanitybit on Friday January 06, 2023 @09:40PM (#34284542)
I guess that makes sense since they have to inject an instrumentation pass.