Rust only prevents types of bugs where the game crashes because of invalid memory access, or exploits.
Since when are Rust programs unexploitable..
They aren't obviously, but iirc around 70% of vulnerabilities in Chrome and Windows have been memory safety bugs.
Nah it prevents all kinds of bugs that exploit things like integer overflows, invalid values, etc.
Obviously gameplay bugs are still possible in Rust, but many of them are not.
> ...that exploit things like integer overflows...
AFAIK Rust doesn't check for integer overflow in release builds, so that would still be exploitable.
Rust doesn't check for integer overflow in release builds by default (ignoring the explicitly-checked methods, of course). At least when building with Cargo whoever builds the binary sets overflow behavior.
Since when are Rust programs unexploitable..
They aren't obviously, but iirc around 70% of vulnerabilities in Chrome and Windows have been memory safety bugs.
Nah it prevents all kinds of bugs that exploit things like integer overflows, invalid values, etc.
Obviously gameplay bugs are still possible in Rust, but many of them are not.
> ...that exploit things like integer overflows...
AFAIK Rust doesn't check for integer overflow in release builds, so that would still be exploitable.
Rust doesn't check for integer overflow in release builds by default (ignoring the explicitly-checked methods, of course). At least when building with Cargo whoever builds the binary sets overflow behavior.