News for hackers. Stuff that matters.
Re:Boringcc: Proposal for a C compiler for secure software by xamuel on Monday December 21, 2015 @10:41PM (#10775659)
>inflicting these on C programmers

You're acting like it's unambiguously bad, but that's not true. For example, I might create a macro DEREF_AND_FREE(x) which expands to if(x)free(*x). Often times, I'll lazily use that in places where I know x isn't null. It's more readable and maintainble than splitting the macro up into two separate macros, DEREF_AND_FREE_IF_NONNULL and DEREF_AND_FREE_I_KNOW_ITS_NONNULL. These UB-based optimizations which are "inflicted" on me mean that I don't take the performance hit for my laziness.

There are no comments on this comment yet.