|
|
|
|
|
by tialaramex
263 days ago
|
|
I assume under the same "memory safety" rationale it just zeroes the RAM. That's "safe" and compatible with C. In a good language this mistake is caught at compile time, like in Rust, the compiler says "Hey, I don't see how this variable is initialized before use" and you slap your forehead and fix it. But zeroing everything is technically safe. For the Casey "hand made" Muratori type zeroing might even seem like a better idea. It's cheap, it means now your code compiles and executes, who cares about correctness? |
|