Advanced C Coding For Fun!

Presenter(s): Rusty Russell

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. –



Do NOT follow this link or you will be banned from the site!