2 ms·
I agree, I'm just pointing out that not all languages have the same safety model, even if they are similar. Converting a pointer to an integer address and neve
by EE84M3i 6y ago
I agree, I'm just pointing out that not all languages have the same safety model, even if they are similar.
Converting a pointer to an integer address and never dereferencing it (e.g. to print it) does not lead to U.B., but it does leak ASLR information. Some languages consider that safe (Rust) and others do not. I think that is in an important distinction.