News for hackers. Stuff that matters.
Re:“Rust is safe” is not some kind of absolute guarantee of ... by lifthrasiir on Sunday October 02, 2022 @01:18PM (#33057992)
While C/C++ has been made much safer by sanitizers, fuzzing and lints, they are:

- Only useful when actually being used, which is never the case. (Seriously, can we make at least ASAN the default?)

- Often costly to always turn them on (e.g. MSAN).

- Often requires restructuring or redesign to get the most out of them (especially fuzzing).

Rust's memory safety guarantee does not suffer from first two points, and the third point is largely amortized into the language learning cost.

Re:“Rust is safe” is not some kind of absolute guarantee of ... by pjmlp on Monday October 03, 2022 @03:08PM (#33072218)
> Seriously, can we make at least ASAN the default?

Android helps a bit into that sense,

https://source.android.com/docs/security/test/hwasan