News for hackers. Stuff that matters.
Re:What Have We Learned from the PDP-11? by beefhash on Thursday December 07, 2017 @12:10AM (#15867769)
Not quite, unfortunately. In assembly language, you don't have to fear that your compiler optimizes out clearing cryptographic keys out of memory at the end of a function.
Re:What Have We Learned from the PDP-11? by syrrim on Thursday December 07, 2017 @01:14AM (#15868022)
In assembly, you don't have to worry about pesky optimizations speeding up your code at all. A similar effect can be achieved in C by not manually enabling optimizations.
Re:What Have We Learned from the PDP-11? by dangerface on Thursday December 07, 2017 @10:12AM (#15870659)
"A similar effect can be achieved in C by not manually enabling optimizations."

Good luck with that.

Re:What Have We Learned from the PDP-11? by mpweiher on Thursday December 07, 2017 @05:02PM (#15874777)
Nor in K&R C. Or even early ANSI-C. This whole "we can use undefined behavior to "optimize" away half your program" idea is fairly new.