( enpassant | 2024. 03. 08., p – 18:25 )

Eleve ott bukik az egész versenykiírásod, hogy a Rust nyelvhez nem számítod hozzá az unsafe -et. Az unsafe a nyelv része, éppen azért, hogy minden olyat meg lehessen csinálni vele, amit a C-vel is, de úgy, hogy a 99,9%-a sokkal biztonságosabb, mint C-ben. ;-)

Another reason Rust has an unsafe alter ego is that the underlying computer hardware is inherently unsafe. If Rust didn’t let you do unsafe operations, you couldn’t do certain tasks. Rust needs to allow you to do low-level systems programming, such as directly interacting with the operating system or even writing your own operating system. Working with low-level systems programming is one of the goals of the language.