News for hackers. Stuff that matters.
Re:F() vs. F(void) in C vs. C++ by biesnecker on Sunday May 12, 2019 @07:12PM (#19895202)
Yes.

> So Clang can potentially save you a single instruction (xorl %eax, %eax) whose encoding is only 1B, per function call to functions declared in the style f(), but only IF the definition is in the same translation unit and doesn’t differ from the declaration, and you happen to be targeting x86_64.

Re:F() vs. F(void) in C vs. C++ by saagarjha on Sunday May 12, 2019 @07:19PM (#19895246)
I couldn't seem to find that bit, thanks for pointing it out to me.
Re:F() vs. F(void) in C vs. C++ by ndesaulniers on Sunday May 12, 2019 @07:23PM (#19895266)
I just updated the article, too, sorry if that caused confusion.