4 ms·
> 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
by Aurornis 1y ago
> 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.