Water Blower on Nostr: Now I’ve inevitably hit the hard parts of Rust, lifetimes. It’s kinda ridiculous ...
Now I’ve inevitably hit the hard parts of Rust, lifetimes. It’s kinda ridiculous that Rust requires so many things to write a single threaded synchronized linked list. Rust compiler makes sure unsafe code is not compiled. But it does not make sure all safe code can be compiled. Sound but not complete.
Published at
2025-02-17 02:11:05Event JSON
{
"id": "9e8f107652b1624c7198466140b6f0fe348b66cccc1288fc51725a728369da36",
"pubkey": "6b9da920c4b6ecbf2c12018a7a2d143b4dfdf9878c3beac69e39bb597841cc6e",
"created_at": 1739758265,
"kind": 1,
"tags": [],
"content": "Now I’ve inevitably hit the hard parts of Rust, lifetimes. It’s kinda ridiculous that Rust requires so many things to write a single threaded synchronized linked list. Rust compiler makes sure unsafe code is not compiled. But it does not make sure all safe code can be compiled. Sound but not complete.",
"sig": "f59e04b950953bb03ad11ec743c43db4a4cc405dda4e1e0297c334bcea24675c079a4f3f48ac50e33f006d4854a09e09f66cab6ee4130fd25c19ddb917d0e630"
}