3 ms·
There is a subset of Rust that compiles fast, but it requires to avoid serde and crates that depends on syn, quote, proc-macro… The issue is that macros and ge
by iTokio 2y ago
There is a subset of Rust that compiles fast, but it requires to avoid serde and crates that depends on syn, quote, proc-macro…
The issue is that macros and generics can generate tons of code under the hood.
Unfortunately some major parts of the rust ecosystem like serialization and async frameworks are dependent on these features..
- Ygg2 2y agoYou don't need serde or proc macros to blow up your compilation times - just a lot of complex monomorphised generics.