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

Does the borrow checker interfere with memory and object pools implementation?

Because if you require heap allocation for many short-lived objects, I expect this would be one of Java strengths unless you use an object pool.



"interfere" is a funny word, but you could do this in Rust. It's not super common, though the related technique of "arenas" can be, depending on domain.




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

Search: