News for hackers. Stuff that matters.
Re:Talking to C Programmers about C++ [video] by aksx on Sunday September 25, 2016 @09:46AM (#12575287)
>For heap allocation, you would need to call some sometype_free(&a) function

i find '__attribute__((cleanup (fn)))' fascinating in C, need to try it in some production code though.

Re:Talking to C Programmers about C++ [video] by pjmlp on Sunday September 25, 2016 @10:29AM (#12575464)
That is GCC C, not ANSI C.
Re:Talking to C Programmers about C++ [video] by loeg on Sunday September 25, 2016 @05:31PM (#12577563)
It's quite useful.