3 ms·
That is what I concluded too. And if your nodes can be of different types, you probably need to make them "enums" instead of "objects". So essentially you nee
by zyxzevn 9y ago
That is what I concluded too.
And if your nodes can be of different types, you probably need to make them "enums" instead of "objects".
So essentially you need these tricks to work with graphs, which means that your program design is really not as easy as with a garbage collected system, or manual memory management.
I think that many new users have problems with complex graphs in Rust, especially cycled graphs.