Advanced C Coding For Fun!
Channel: Linux.conf.au 2011 -- Brisbane, Australia
Date: 2014-11-23

Presenter(s): Rusty Russell
URL: http://2011.linux.conf.au/programme/schedule/view_talk/190

While working on CCAN I realised just how many C coding tricks there are.  Regrettably, we spend very little time reading completely foreign code and instead we collect techniques one by one over years.

It needn't be that way: this presentation is a cookbook with examples of all the C programming tricks I have found value in.  Not just the basics like valgrind, talloc and the Jenkins hash, but less sane techniques like typesafe callbacks, runtime code updating, C as a scripting language and malloc failure path testing.

Everyone who codes in C will get something out of this talk.

http://2011.linux.conf.au/ - http://www.linux.org.au
CC BY-SA - http://creativecommons.org/licenses/by-sa/4.0/legalcode.txt