Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Generic programming in C

Name: Anonymous 2012-01-12 3:49

I love C so much, and I really want to hate sepples, but I can't help but think that generic programming in C is shit! Macros are no good for generic data structures, as they are clunky and blow out code size, nor are void pointers, as you need to allocate separate memory just to store an integer (don't stuff ints into pointers; zeros won't work on architectures where the null pointer constant is non-zero). I really want to write my data structure library in sepples, where templates allow type genericism without issue. What should I do, /prague/; what should I do?!

Name: Anonymous 2012-01-12 4:00

>>2
While that is true, I do not enjoy the idea of having no function call stack, nor do I enjoy the idea of having the entire code for each action on the structure copied again and again each time it is used. Now you can fuck right off.

Name: Anonymous 2012-01-12 12:52

>>39
errr yes there is? he's not talking about stack traces in case you misunderstood

Name: Anonymous 2012-01-12 14:15

>>45
>2011
>being anal about stacks even though you very well know what he means
Confirmed for Asperger

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List