News for hackers. Stuff that matters.
Re:Computer Scientists’ Trivia by danbruc on Thursday February 02, 2017 @06:30AM (#13549758)
The memory aliasing point completely correct and very important (even though you probably want the `b[i] = val` outside the inner loop...) [...]

Do you mean the assignment to b should be or must be outside of the inner loop? I am pretty sure it must be outside of the inner loop in order to make the assembly version correct.

Re:Computer Scientists’ Trivia by tomsmeding on Thursday February 02, 2017 @09:53AM (#13550879)
Very true, didn't spot that one. Then the C code is probably a typo, but still incorrect. :P