▲ | verdagon 4 days ago | |||||||
Hey all, this is a post explaining a new memory safety model by my friend Nick Smith (original proposal at https://gist.github.com/nmsmith/cdaa94aa74e8e0611221e65db8e4...) It was interesting enough that I knew I had to write a post about it. Happy to answer any questions! | ||||||||
▲ | wpollock 4 days ago | parent | next [-] | |||||||
> But... we humans can easily conclude this is safe. After the evaluation of list_ref_a.push(5), my_list is still there, and it's still in a valid state. So there is no risk of memory errors when evaluating the second call to push. Is the always true? What with piplining, branch prediction, and maybe asymmetrical NUMA , isn't out of order instructions possible? If so, don't you still need locks or memory barriers to ensure safety? (I am most definitely not an expert, just curious.) | ||||||||
| ||||||||
▲ | titzer 4 days ago | parent | prev [-] | |||||||
Thanks for the detailed writeup, that must have been a lot of work. I think you guys should check out Verona (https://www.microsoft.com/en-us/research/project/project-ver...). | ||||||||
|