Skip to content
0:00 / 0:00

#ccan#c#talloc

Advanced C Coding For Fun!

Linux.conf.au 2011 -- Brisbane, Australia

1.3K subscribers • 1 video on Hallway

YouTube
  • Recommended by 3 people: 2 in engineering communities and 1 curated list.
  • A classic. People kept recommending it from 2015 to 2018.
  • Presented by Rusty Russell

Advanced. Deep dive for people who know the field.

93K views11 years ago3 recommendations

Programming languagesSystems programmingCPerformance and optimizationMemory management

Rusty Russell shares advanced C programming tricks and techniques gathered from his work on CCAN, including typesafe callbacks and malloc failure testing.

Presenter(s): Rusty Russell URL: 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. 2011.linux.conf.au/ - linux.org.au CC BY-SA - creativecommons.org/licenses/by-sa/4.0/legalcode.txt

Why it's here

3 people recommend this

What people say. Recommended as an excellent talk on advanced C programming techniques and clever tricks used in real-world systems code.

programming-talkscurated list on GitHubRecommends

Under “C”

Advanced C Coding For Fun! 00:46:53 by **Rusty Russell** (2014)

u/tismithin r/C_Programming • Recommends

On “Do you have any goo talks on anything C?”

Look for talks coming out of Linux.conf.au. This one by Rusty springs to mind link to this video

u/ml01in r/C_Programming • Recommends

On “C Programmers on Youtube”

I don't know of any channel that does advanced C and even talks are very hard to find. Off the top of my head I remember watching and appreciating these: - 21:Everything u need 2 know about pointers -Richard Buckland when I was learning pointers, not that advanced - Standford CS107 already mentioned here, great series of lectures - Advanced C Coding For Fun! networking stuff by Rusty Russell, that guy is really funny - How I program C by Eskil Steenberg. This guy does graphics and game related things and it seems he really knows his stuff