4 ms·
Well, the thing is, with compile times of 2 seconds I can run my unit tests as fast as possible. At the same time, I'd just use a mock database for most of the
by cube2222 10y ago
Well, the thing is, with compile times of 2 seconds I can run my unit tests as fast as possible. At the same time, I'd just use a mock database for most of the tests.
It's great to be able to compile applications like kubernetes in 2 minutes.
- NateDad 10y agoDoes kubernetes take 2 minutes to build? That seems super long. I csn compile juju (1mil LOC) in like 15 seconds.
- AsyncAwait 10y agoIf compile time is an issue, the new 'cargo check' tool may take some of the pain away.[1] 1 - https://blog.rust-lang.org/2017/03/16/Rust-1.16.html https://blog.rust-lang.org/2017/03/16/Rust-1.16.html
- cormacrelf 10y agoMore to the point, Rust is trying pretty hard on the compile time front. They've almost got incremental compilation out the door, on top of this.