but the compiler doesn't *force* you to mark a function that contains `unsafe { ... }` as `unsafe`, you have to elect to do that? so `unsafe { ... }` is you going "look, I know rustc can't prove this memory use is ok, but trust me I know what I'm doing"
-
-
In typical fashion, the Rust rewrite led to like 6 previously unknown bugs being fixed in the Ruby impl
-
has this experience working on a threaded program for advent of code
- 1 more reply
New conversation -
-
-
yep, it forces you to make smaller structs and shorter-lived finer-grained &muts, and I think it also acts as pressure to comply with demeter
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.