Tutorial on thread-safe non-binary tree implementation in Rust

Hi everyone. As I've been learning Rust recently I've been capturing knowledge in tutorials to help my future self :grinning:. So I'm sharing it here in the hopes that it will benefit others in the community.

Topics like interior mutability, sharing ownership, weak and strong references, custom traits for polymorphic behavior, are covered in this article. Also the final iteration ends up using a memory arena approach rather than using weak references and ARCs.


This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.