Re:C++ vs. Rust Build Times
by berkut on Friday January 06, 2023 @12:24PM
(#34277752)
I've got a ~9k loc Bevy "game" I'm writing that doesn't use dylib and takes > 20 secs every update, purely because of the linking (I'm not using mold yet, but am using lld)...
i.e., I type 'cargo build', it compiles the single .rs I changed almost instantly, but then I'm staring at:
Building [=======================> ] 314/315: landscape(bin)
i.e., I type 'cargo build', it compiles the single .rs I changed almost instantly, but then I'm staring at:
Building [=======================> ] 314/315: landscape(bin)
for the next 20 seconds.