[clug] September CLUG Programmers' Special Interest Group meeting
Paul Wayper
paulway at mabula.net
Mon Sep 5 16:00:02 MDT 2011
CLUG Programmers' Special Interest Group Meeting - 8th September 2011
=====================================================================
Date: 8th September 2011 (Second Thursday of the month)
Time: 19:00 - 21:00 (or when it finishes)
Speaker: Paul Wayper
Abstract:
Paul will give a talk about the Talloc C library.
Memory management in C is one of the minefields of the
language. Knowing that you've freed all your memory
when you've created half a dozen structures, are half
way through a bunch of socket and file connections, and
the client drops the connection, is a very tricky
process. Some people just use a language that has
garbage collection and hope that it'll know the right
thing to do. The SaMBa developers, instead, wrote
talloc.
The best thing about talloc is not that it's hugely
powerful, nor that it does the right thing. It's not
that it gives you a whole bunch of sensible helpers to
allocate and de-allocate memory, and toss pointers
around between owners. It's that it's simple to use.
You don't have to change how you write code (much) and
you'll find that you automatically do the right thing.
Paul will demonstrate the how to use talloc using
examples from his own code.
Venue: Room N101
Computer Science and Information Technology Building
North Road
The Australian National University
See http://clug.org.au/ for more directions and a map
Food/drink: Pizza and soft drink/juice. Come hungry, and bring
about $6 to cover the cost of your share if you
want some.
If you would like to give a talk at a future meeting, please email me.
More information about the linux
mailing list