logoalt Hacker News

senderistayesterday at 8:24 PM2 repliesview on HN

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

woodruffwyesterday at 8:29 PM

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.

show 1 reply