Hacker News new | past | comments | ask | show | jobs | submit login

1. As your other reply said, crossbeam is Rust's gold-standard for this.

2. Make the front-pointers be Rc's or Arc's, then use the downgrade() method to construct the back-pointers.

3. Array-based ring buffer instead, perhaps?

4. Like any refactoring, the compiler errors guide you to the places that you haven't yet changed.




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

Search: