zlacker

[return to "“Rust is safe” is not some kind of absolute guarantee of code safety"]
1. tcfhgj+w4[view] [source] 2022-10-02 14:53:29
>>rvz+(OP)
> Not completing the operation at all, is not really any better than getting the wrong answer, it's only more debuggable.

Wouldn't be that sure about that. Getting the wrong answer can be a serious security problem. Not completing the operation... well, it is not good, but that's it.

◧◩
2. atty+D5[view] [source] 2022-10-02 15:00:29
>>tcfhgj+w4
The kernel can’t fail to complete its operations, because then the entire system crashes and no logs are created. Instead, you can finish the operation and check the result.
◧◩◪
3. charci+rd[view] [source] 2022-10-02 15:44:21
>>atty+D5
panic doesn't instantly crash the program. It prints out debug information first. You could have kernel panics work the same way.
◧◩◪◨
4. second+lp[view] [source] 2022-10-02 16:45:58
>>charci+rd
Prints it out how? If the kernel has crashed how do you guarantee anything gets printed, either to the screen, tty, log file?
◧◩◪◨⬒
5. charci+nU[view] [source] 2022-10-02 19:56:40
>>second+lp
Print it to the cloud
[go to top]