Remix.run Logo
▲ kibwen 2 hours ago

Fortunately for gamers, Rust doesn't do anything to stop physics engines from going haywire or preventing players from clipping out of bounds. A Mario 64 written in Rust still has parallel universes (well, assuming that you carefully translated the out-of-range float-to-short cast as having modulo semantics, an operation which doesn't have any defined semantics in C).

▲anonymous908213 2 hours ago | parent [-]

Rust does, however, kill Missingno. No thanks.

▲kibwen an hour ago | parent [-]

To be pedantic, even being written in C would have killed Missingno. Pokemon Red/Blue were written in raw assembly.

▲anonymous908213 43 minutes ago | parent [-]

C doesn't bounds check arrays. A C compiler is perfectly capable of producing the same machine code as an assembler when given a loop that writes bytes to an array and then keeps writing beyond the space allocated for the array.