Another one: bounds checks on array access. When the compiler can't prove an array access is within bounds, it'll add runtime checks to ensure out of bounds reads don't occur.
-
-
Show this thread
-
Another one: stack probes / stack guards. I don't understand these well, but they have something to do with overflow detection at runtime.https://github.com/rust-lang/rust/pull/42816 …
Show this thread
End of conversation
New conversation -
-
-
Does no_std have a “runtime”?
-
I would argue it does! But I'm not an expert and can't think of anything other than "stack guards on some platforms, if we're lucky" (and even of that I only sort of know what it is).
- 5 more replies
New conversation -
-
-
thread::spawn()
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
I'd argue the panic! machinery probably constitutes more of a runtime than anything else but I don't know much about it.
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.