the one and only objection to C

Tim Maroney tim at cmu-cs-k.ARPA
Sat Jan 5 08:05:13 AEST 1985


Look, if you absolutely have to match an externally-imposed structure
format, then write a conversion routine between the C structure and the
external structure (considering it as an array of chars).  In virtually
every such case, the C structure can be on the stack, that is, in an "auto"
variable, so you don't have dynamic storage management overhead.
-=-
Tim Maroney, Carnegie-Mellon University Computation Center
ARPA:	Tim.Maroney at CMU-CS-K	uucp:	seismo!cmu-cs-k!tim
CompuServe:	74176,1360	audio:	shout "Hey, Tim!"

"Remember all ye that existence is pure joy; that all the sorrows are
but as shadows; they pass & are done; but there is that which remains."
Liber AL, II:9.



More information about the Comp.lang.c mailing list