Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.



What linker are you using? I've gotten really significant speedup over the default linker by using lld or mold.


Modules 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.


In 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.




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: