News for hackers. Stuff that matters.
Re:"Why is the Rust compiler so slow?" by Aurornis on Thursday June 26, 2025 @04:50PM (#44391214)
> makes me wonder why other languages like Rust and Swift can't just do something similar to achieve similar speeds.

One of the primary features of Rust is the extensive compile-time checking. Monomorphization is also a complex operation, which is not exclusive to Rust.

C compile times should be very fast because it's a relatively low-level language.

On the grand scale of programming languages and their compile-time complexity, C code is closer to assembly language than modern languages like Rust or Swift.

There are no comments on this comment yet.