3 ms·
Languages like Go and Java can do separate compilation by reading header information out of the object files of imported packages/classes.
by skybrian 10y ago
Languages like Go and Java can do separate compilation by reading header information out of the object files of imported packages/classes.
- pcwalton 10y agoRust has been doing that since day one. What makes this incremental compilation different from that of, say, Go, is that it works inside a package. Before incremental compilation, Rust and Go had the exact same model: package-at-a-time compilation. With incremental compilation, Rust is more fine-grained than that: Rust can compile specific parts of a package while leaving the other parts untouched.