by demindiro · 4y ago · 0 comments
Because reading from unitialized memory yields an indeterminate value. Operating on such a value can lead to UB. This applies to languages other than Rust too (e.g. C).
Ralf explains it better than me[1].
No comments yet.