Re:Clang vs. Clang
by Rusky on Saturday August 03, 2024 @01:54PM
(#41148098)
I am not talking about UB at all. I am talking about the same constant-time stuff that djb's post is talking about.
[ Parent
| on HN ]
Re:Clang vs. Clang
by SAI_Peregrinus on Saturday August 03, 2024 @05:16PM
(#41149315)
Execution time is not considered Observable Behavior in the C standard. It's entirely outside the semantics of the language. It is Undefined Behavior, though not UB that necessarily invalidates the program's other semantics the way a use-after-free would.