Memory safety without borrow checking, reference counting, or garbage collection
A great read!<p>Might be worth pointing out: leptos, a Rust WASM UI library, uses the &quot;store an index (or ID) into some central data structure&quot; idea extensively.<p>Sycamore, another Rust WASM UI library, has been using arena allocation, but will also be transitioning into the leptos approach in coming versions.<p>(I believe) this is partly because the borrow checker&#x27;s enforcement of a tree-like data structures &#x2F; ownership doesn&#x27;t always work well with the JS event loop.