Reference representation for Rust newbie
⚓ Rust 📅 2026-01-22 👤 surdeus 👁️ 1I am an OLD programmer (once upon a time I maintained LISP and APL interpretters). I have read the RUST book twice, and finally came up with a project for myself. (Quirky Rolodex.) My general approach is a base object that will own the people, organizations, etc. The people, for example, also need references to other people (without confusing the ownership.) The obvious way to do this is with weak references. What causes me to ask here instead of just doing it is that I want to end up with a way to store these things. WHich leads me to wonder if I am better off with pseudo-references, e.g. wrapped IDs with methods that use the base object to check for existence and find the target. Or is there a better way around the storage / retreival problem.
Also, from what I have read, the simplest way I have to create the GUI aspects (I am terrible at GUI) is to use eguid?
Thank you very much,
Joel
8 posts - 3 participants
🏷️ Rust_feed