4 ms·
I have just used it yesterday to better understand a math problem and found that the edit-compile-run cycle of rust with this framework was prohibitively long.
by gf000 2y ago
I have just used it yesterday to better understand a math problem and found that the edit-compile-run cycle of rust with this framework was prohibitively long.
I only had a single file calling into this lib - maybe I could have improved on it with splitting the project up to some modules? Could anyone comment on their experience? Because usually I have found rust compile times okay, but this really made it hard to iterate.
- ramon156 2y agoModules wouldn't fix this afaik. I feel like hot-reloading would be the fix here, but I'm unsure what the state on that is.
- vacuity 2y agoIn Rust, crates and not modules are the unit of compilation. Hot reloading is a whole other problem for the Rust ecosystem. You'd probably have to build it yourself or buy into a whole engine.
- generalenvelope 2y agoWhat linker are you using? I've gotten really significant speedup over the default linker by using lld or mold.