logoalt Hacker News

hnp9j9qtda • today at 2:36 PM • 2 replies • view on HN

Biggest win for me was splitting one fat crate into three, parallelism got real.


Replies

clarus • today at 3:30 PM

Yes this seems like the main way to go. With dependency injection using "dyn" traits on top of that, it seems that this mostly solves the compilation issues with Rust. It might be better for tests and agents to split code in small chunks too.

rapind • today at 3:45 PM

I am experimenting with this in my project right now. I haven't reached a verdict yet, but in theory it sounds good. I think you're still paying the linking cost though?

➕ show 1 reply