3 ms·
Aren't common libraries like serde and clap known to slow down compile times?
by NewJazz 3y ago
Aren't common libraries like serde and clap known to slow down compile times?
- sodality2 3y agoYes, but Rust for Linux won’t be using these kinds of dependencies.
- NewJazz 3y agoThat's a good point. Rust in the Kernel is different from the general ecosystem.
- vlovich123 3y agoThe first time you build, sure but that’s true for C/C++ applications too (boost command_line or applications with lots of protobufs). Overall my experience that build times on Rust are waaaaaay better than C++ all things being equal (i.e. similar level of features). And honestly the developer experience of clap I’ve found to be a lot faster to work with than equivalent libraries in TypeScript which is saying something considering the typing on Rust is a lot more strict and cumbersome to work with.
- junon 3y agoYes, but not substantially - at least in comparison to *-sys crates which (surprise!) compile C/C++ most of the time.