Why Nostr? What is Njump?
2023-12-15 15:57:24

jb55 on Nostr: #Rust is one of the only languages where you can tie the lifetime of an object to ...

#Rust is one of the only languages where you can tie the lifetime of an object to another one. This ‘a thing is a lifetime parameter that says “Note must not outlive Transaction”. Which is incredibly useful since in #nostrdb the pointer to the memory-mapped data is only valid as long as the transaction exists. This is enforced at compile time, making data-read-outside-of-transaction crashes impossible.

gm #nerdstr

Author Public Key
npub1xtscya34g58tk0z605fvr788k263gsu6cy9x0mhnm87echrgufzsevkk5s