Real-Time C and malloc

emery at gypsy.UUCP emery at gypsy.UUCP
Tue Jan 28 00:48:00 AEST 1986



Some of the people I've talked to about Ada claim that they cannot afford
Ada's dynamic allocation of objects, because their real-time system has
such limited memory, that dynamic allocation could crash their {missile|
spacecraft|radar|ect.}

Could some people who've developed real-time systems in C comment on this?

In particular, do you use malloc, and how do you handle strings (malloc or
static allocation)?

I would especially like to hear from anyone who's done a military contract
in C (if there is such a thing...)

			Thanks

			Dave Emery
 	   ...princeton!siemens!emery
	      princeton!siemens!emery at topaz.arpa



More information about the Comp.lang.c mailing list