4 ms·
Rust is safe in the sense that it avoids many categories of bugs; it's not safe in the sense that you can run untrusted code without causing security issues. Fo
by TheCoelacanth 13y ago
Rust is safe in the sense that it avoids many categories of bugs; it's not safe in the sense that you can run untrusted code without causing security issues. For instance, you don't want a script in a webpage to be able to read/write arbitrary files on your computer, but a Rust program would be allowed to do that. You would have to restrict a lot of capabilities before it would be safe for your browser to run untrusted Rust scripts.