3 ms·
The way I read it, the conclusion is that Rust compiler is indeed slow when there are dependencies, even as "simple" as argument parsing? Now I would like to r
by acqq 6y ago
The way I read it, the conclusion is that Rust compiler is indeed slow when there are dependencies, even as "simple" as argument parsing?
Now I would like to read why is that, and is it only about the "rebuild time" or also about "make time", once the dependency is built and hasn't been changed. If it's about the rebuild time, I agree that it's not important. If it's a penalty for every use of dependency, then for my tastes it does reduce the number of iterations one can do during the fixed development time.
- vbrandl 6y agoClap (the argument parser in discussion) does a little more: parsing to correct types, colorful output, generation of shell completions and man pages, fuzzy matching (did you mean X?) and so on. That aside, I don't know why clap in particular was the problem.
- astrobe_ 6y agoOh, I see. I was wondering how an argument parsing library could be as big as a bytecode interpreter like Lua.