Andrew Helwer on Nostr: Is it possible to write a safe cyclic datastructure in rust? Do you just use std::Rc? ...
Is it possible to write a safe cyclic datastructure in rust? Do you just use std::Rc? I’m at the point in learning #rust where I start to idly wonder these things even if I don’t need them.
Published at
2023-06-28 12:29:00Event JSON
{
"id": "ffde7490ea4e3b3723a368849a1fa0a3c9f52b27a0195b852a125fd722256601",
"pubkey": "6235fe36d733665c235dbec5983d768400cdb414ea18e0633cfe9d9c1ac6b02d",
"created_at": 1687955340,
"kind": 1,
"tags": [
[
"t",
"rust"
],
[
"mostr",
"https://fosstodon.org/users/ahelwer/statuses/110621841189801336"
]
],
"content": "Is it possible to write a safe cyclic datastructure in rust? Do you just use std::Rc? I’m at the point in learning #rust where I start to idly wonder these things even if I don’t need them.",
"sig": "36e377dbc2dcbbbca46979cb43b27fc59c686cc15b97bbe9f1069f8e1521ae2ed9a3919be9c58b99ce42e120ea18f5413ce8dda9a185d7342e59f96e039e61f2"
}