Just finished up a new #rustlang blog post, this time about moving out from an `&mut` borrow and the "sentinel pattern". http://smallcultfollowing.com/babysteps/blog/2018/11/10/after-nll-moving-from-borrowed-data-and-the-sentinel-pattern/ … Interestingly, in the course of writing this post, this very topic came up several times in conversations at SPLASH and elsewhere.
-
-
haha :) Note that take_mut would be just as "unsound" with shared memory between processes. I don't think Rust's typesystem can cope well with the existence of a greater OS that can poke at its memory (see also: /proc/mem, someone truncating your memmap, probs other stuff)
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.