Skip to content

On server stability and isolation #2631

Discussion options

You must be logged in to vote

Of course you may be thinking "you're using Rust wrong, you shouldn't use unsafe code".

There's nothing wrong about using unsafe code, but incorrect unsafe code, like the one you've written here, is likely to trigger undefined behavior. This isn't just a Rust issue: the exact same code translated to C would also yield undefined behavior. By definition, this makes it impossible to write a server that can fault-isolate this behavior, at least in a single memory security domain (i.e, process). Even with software fault isolation techniques with multiple security domains, you cannot precisely isolate the issues you're suggesting, at least not without incurring very significant performance ov…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by darksylinc
Comment options

You must be logged in to vote
1 reply
@the10thWiz
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants