Originally posted by emblemparade
View Post
Announcement
Collapse
No announcement yet.
GNOME's SVG Rendering Library Migrating To Rust
Collapse
X
-
Originally posted by M@yeulC View PostEven if I am not convinced that Rust is our Messiah, there have been some examples of programming languages (but also OSS, etc) that, while not completely revolutionary, allowed for a whole new level of complexity in software by suppressing common mistakes, and adding some safeguards against undefined behaviour.
If Rust can allow this, I am all for it. I started learning it, and will see by myself.
Comment
-
Originally posted by mmstick View Post
Basically, undefined behavior is considered a bug in Rust. Rust is designed so as to not allow for undefined behavior, not even in unsafe code.
https://doc.rust-lang.org/nightly/re...ered-undefined
emblemparade -> https://xkcd.com/386/
Comment
-
Originally posted by M@yeulC View Post
Well, I was thinking of runtime UB, which I guess is still possible in unsafe areas (?)
emblemparade -> https://xkcd.com/386/
Comment
-
Originally posted by funfunctor View PostNo, because its not the one losing the electron, its gaining them to complete its p orbital. You can't just throw around words, they have precise meanings.
A fire has the same identical type of redox reaction with oxygen where the reductant is carbon instead of iron, but a fire isn't "rusting", but "burning".
Comment
Comment