News for hackers. Stuff that matters.
Re:Instance Model Programming in C by andrewcooke on Monday November 25, 2013 @02:07PM (#6796156)
isn't this just the normal approach used in complex c code, as described in, for example, "c interfaces and implementations" by hanson? a struct with function pointers and state (plus, optionally, macros to sugar away the repetition).

i don't understand what's new here. anyone?

Re:Instance Model Programming in C by humanrebar on Monday November 25, 2013 @02:17PM (#6796227)
It's similar to most of the complex C code I have been exposed to except for one thing: namespace prefixes. Almost all reusable C components have to have a name prefix or risk name collisions with other code.