←back to thread

302 points Bogdanp | 1 comments | | HN request time: 0.204s | source
Show context
senderista ◴[] No.44390936[source]
WRT compilation efficiency, the C/C++ model of compiling separate translation units in parallel seems like an advance over the Rust model (but obviously forecloses opportunities for whole-program optimization).
replies(2): >>44390994 #>>44391000 #
woodruffw ◴[] No.44390994[source]
Rust can and does compile separate translation units in parallel; it's just that the translation unit is (roughly) a crate instead of a single C or C++ source file.
replies(1): >>44391011 #
1. EnPissant ◴[] No.44391011[source]
And even for crates, Rust has incremental compilation.